Fl_Preferences: fix missing '/' (#891)
Without the '/' FLTK 1.4 wouldn't fall back to the 1.3 prefs folder even if it existed.
This commit is contained in:
parent
667adac6dd
commit
5cc5a60e09
@ -557,7 +557,7 @@ char *Fl_Unix_System_Driver::preference_user_rootnode(
|
||||
|
||||
// 2: If this base path does not exist, try the 1.3 path
|
||||
if (::access(prefs_path_14.c_str(), F_OK) == -1) {
|
||||
Fl_String prefs_path_13 = home_path + ".fltk/" + vendor;
|
||||
Fl_String prefs_path_13 = home_path + "/.fltk/" + vendor;
|
||||
if (::access(prefs_path_13.c_str(), F_OK) == 0) {
|
||||
prefs_path_13.append('/');
|
||||
prefs_path_13.append(application);
|
||||
|
Loading…
Reference in New Issue
Block a user