From d9cc57e9ff1725e6e63973705adbf218d6961d17 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 4 Jan 2023 19:51:13 -0500 Subject: fix command-line argument starting file if it doesn't exist it used to open an untitled buffer. also, clarified buffer_load_file --- os-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-posix.c') diff --git a/os-posix.c b/os-posix.c index 0d00882..f98f029 100644 --- a/os-posix.c +++ b/os-posix.c @@ -105,7 +105,7 @@ int fs_mkdir(const char *path) { } } -int fs_get_cwd(char *buf, size_t buflen) { +int os_get_cwd(char *buf, size_t buflen) { assert(buf && buflen); if (getcwd(buf, buflen)) { return 1; -- cgit v1.2.3