diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-24 12:39:45 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-24 12:39:45 -0500 |
commit | 33b951f3b5d89c0ba7e7c7d821a9eafb37088872 (patch) | |
tree | a5de2f26fe044f44f5b39fae9adac51395dae893 /ted-base.c | |
parent | 68b77c7a1cde7344702cf1d162e0124498a6b616 (diff) |
auto-cd: check if actually directory, ~
Diffstat (limited to 'ted-base.c')
-rw-r--r-- | ted-base.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -38,16 +38,6 @@ static void *ted_realloc(Ted *ted, void *p, size_t new_size) { return ret; } -// should the working directory be searched for files? set to true if the executable isn't "installed" -static bool ted_search_cwd = false; -static char const ted_global_data_dir[] = -#if _WIN32 - "C:\\Program Files\\ted"; -#else - "/usr/share/ted"; -#endif -static char ted_local_data_dir[TED_PATH_MAX]; // filled out in main() - // Check the various places a file could be, and return the full path. static Status ted_get_file(char const *name, char *out, size_t outsz) { if (ted_search_cwd && fs_file_exists(name)) { |