mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 07:46:09 +08:00
Fluid: fix "MergeBack" preference location
... although currently disabled - just in case this feature will be re-enabled.
This commit is contained in:
+1
-1
@@ -795,7 +795,7 @@ int Fd_Code_Writer::write_code(const char *s, const char *t, bool to_sourceview)
|
||||
Fl_String proj_filename = g_project.projectfile_path() + g_project.projectfile_name();
|
||||
int i, n = proj_filename.size();
|
||||
for (i=0; i<n; i++) if (proj_filename[i]=='\\') proj_filename[i] = '/';
|
||||
Fl_Preferences build_records(Fl_Preferences::USER_L, "fltk.org.build", "fluid");
|
||||
Fl_Preferences build_records(Fl_Preferences::USER_L, "fltk.org", "fluid-build");
|
||||
Fl_Preferences path(build_records, proj_filename.c_str());
|
||||
path.set("code", s);
|
||||
}
|
||||
|
||||
+1
-1
@@ -1311,7 +1311,7 @@ int mergeback_code_files()
|
||||
Fl_String code_filename;
|
||||
#if 1
|
||||
if (!batch_mode) {
|
||||
Fl_Preferences build_records(Fl_Preferences::USER_L, "fltk.org.build", "fluid");
|
||||
Fl_Preferences build_records(Fl_Preferences::USER_L, "fltk.org", "fluid-build");
|
||||
Fl_Preferences path(build_records, proj_filename.c_str());
|
||||
int i, n = proj_filename.size();
|
||||
for (i=0; i<n; i++) if (proj_filename[i]=='\\') proj_filename[i] = '/';
|
||||
|
||||
Reference in New Issue
Block a user