Skip to content

Commit

Permalink
Fluid: Fix file history text.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Dec 28, 2024
1 parent 050cbab commit 4ce09ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluid/fluid.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ void update_history(const char *flname) {
// Put the new file at the top...
strlcpy(absolute_history[0], absolute, sizeof(absolute_history[0]));
Fl_String fn = fl_filename_shortened(absolute_history[0], 48);
strncpy(relative_history[0], fn.c_str(), sizeof(relative_history[0]-1));
strncpy(relative_history[0], fn.c_str(), sizeof(relative_history[0]));

// Update the menu items as needed...
for (i = 0; i < max_files; i ++) {
Expand Down

0 comments on commit 4ce09ae

Please sign in to comment.