More logical data path name

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2017-07-07 16:23:22 +00:00
parent 1a7dc77851
commit bec74afb39

View File

@ -965,8 +965,8 @@ char Fl_Preferences::RootNode::getPath( char *path, int pathlen ) {
if ( (ext==0L) || (ext<name) ) {
if (strlen(name)==0) {
// emty filenames will create a path with "prefs/" as a driectory name
strlcat( path, "prefs", pathlen );
// emty filenames will create a path with "data/" as a driectory name
strlcat( path, "data", pathlen );
} else {
// filenames without extension will create a path with a ".data" extension
strlcat( path, ".data", pathlen );