diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-31 11:20:54 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-31 11:21:13 +0100 |
| commit | a2d7fde645800442fb8b3f8fe567ac8b7cae0dec (patch) | |
| tree | d74b8ac6b1aa9009e7095894c530acf1c024f9dc /fluid/code.cxx | |
| parent | 99826a5fba6a0f6767262d20b3c8d23b5123f415 (diff) | |
FLUID: Stroe uid's in hex
Diffstat (limited to 'fluid/code.cxx')
| -rw-r--r-- | fluid/code.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/code.cxx b/fluid/code.cxx index 65111f6cd..0caf267f6 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -765,6 +765,8 @@ int Fd_Code_Writer::write_code(const char *s, const char *t, bool to_sourceview) // Remember the last code file location for MergeBack if (s && g_project.write_mergeback_data && !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 path(build_records, proj_filename.c_str()); path.set("code", s); |
