diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-07-17 09:56:56 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-07-17 14:03:54 +0200 |
commit | beac8bdd9be41c0bc17d85429ca74b4f6aa99a3e (patch) | |
tree | bb699ab539d197fe83c06bd908776dcbe6a8619a /src/calcurse.c | |
parent | 98fb747e6ae7ccded2e8aa46154df5d834a72e1a (diff) | |
download | calcurse-beac8bdd9be41c0bc17d85429ca74b4f6aa99a3e.zip |
Rename io_file_exist{,s}()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 00181b7..2588721 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -507,7 +507,7 @@ static inline void key_generic_cmd(void) topic_res = "intro"; snprintf(path, BUFSIZ, DOCDIR "/%s.txt", topic_res); - if (!io_file_exist(path) && keys_str2int(topic_res) > 0 && + if (!io_file_exists(path) && keys_str2int(topic_res) > 0 && keys_get_action(keys_str2int(topic_res)) > 0) { int ch = keys_str2int(topic_res); enum key action = keys_get_action(ch); @@ -515,7 +515,7 @@ static inline void key_generic_cmd(void) snprintf(path, BUFSIZ, DOCDIR "/%s.txt", topic_res); } - if (!io_file_exist(path)) { + if (!io_file_exists(path)) { if (!strcmp(topic_res, "generic-credits")) topic_res = "credits"; else if (!strcmp(topic_res, "generic-help")) @@ -598,7 +598,7 @@ static inline void key_generic_cmd(void) } - if (io_file_exist(path)) { + if (io_file_exists(path)) { wins_launch_external(path, conf.pager); } else { char error_msg[BUFSIZ]; |