diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Preferences.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index 99ab3a917..ad34ee2ed 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -1216,7 +1216,7 @@ int Fl_Preferences::RootNode::write() { // get the path to the preferences directory char Fl_Preferences::RootNode::getPath( char *path, int pathlen ) { if (!filename_) // RUNTIME preferences - return -1; + return 1; // return 1 (not -1) to be consistent with fl_make_path() strlcpy( path, filename_, pathlen); char *s; |
