diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-01-22 21:13:19 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-01-22 21:13:19 +0100 |
| commit | 5cc5a60e096f96924e1409bb410a978db025876a (patch) | |
| tree | 05ec6c5474c4d41b83d5ba3e2efc9a460f7786e8 | |
| parent | 667adac6ddbbf26c8098321fe017e1e0d4b0f3a9 (diff) | |
Fl_Preferences: fix missing '/' (#891)
Without the '/' FLTK 1.4 wouldn't fall back to the 1.3 prefs folder
even if it existed.
| -rw-r--r-- | src/drivers/Unix/Fl_Unix_System_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Unix/Fl_Unix_System_Driver.cxx b/src/drivers/Unix/Fl_Unix_System_Driver.cxx index 9a5922d5d..66b46f4db 100644 --- a/src/drivers/Unix/Fl_Unix_System_Driver.cxx +++ b/src/drivers/Unix/Fl_Unix_System_Driver.cxx @@ -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); |
