diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-03-25 12:00:29 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-03-25 12:00:29 -0700 |
commit | b6feecb6c12566e9ea826cb67701008f9e423eea (patch) | |
tree | a06db423e81d53aee66cfa0b0ca366bd57d71dc8 /util.h | |
parent | 560c8198c006c1d2eddd61329c2657160c144835 (diff) |
Make sure config directory exists before trying to save config file
--HG--
branch : nuklear_ui
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ void sort_dir_list(dir_entry *list, size_t num_entries); //Gets the modification time of a file time_t get_modification_time(char *path); //Recusrively creates a directory if it does not exist -int ensure_dir_exists(char *path); +int ensure_dir_exists(const char *path); //Returns the contents of a symlink in a newly allocated string char * readlink_alloc(char * path); //Prints an error message to stderr and to a message box if not in headless mode and then exits |