diff options
author | Antony Kellermann | 2018-09-27 11:53:46 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-09-27 11:53:46 -0400 |
commit | ab918668eee50f8f0459ee6476f03d50d72d4fb3 (patch) | |
tree | 12ddac1d91a5db6d13d969238cc3ec29c523aff4 | |
parent | b993c86812d9ea718354d49713f870f06c015181 (diff) | |
download | aur-ab918668eee50f8f0459ee6476f03d50d72d4fb3.tar.gz |
Removed dialog on file not existing
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ char* strip_tags(char* string) { String* file_get_string(const char* file_name) { struct stat file_info; if (stat(file_name, &file_info)) // If called from portfolio_modify_string, file should exist (possibly size 0) - RETNULL_MSG("File doesn't exist."); + return NULL; if (file_info.st_size == 0) // Return new String if new file return string_init(); |