Fluid: fix "MergeBack" preference location
... although currently disabled - just in case this feature will be re-enabled.
This commit is contained in:
parent
a09c75e9bc
commit
ecb3e40d69
@ -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);
|
||||
}
|
||||
|
@ -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] = '/';
|
||||
|
Loading…
Reference in New Issue
Block a user