diff options
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -237,7 +237,9 @@ static gboolean ask_save_changes() label = gtk_label_new ( _("You have unsaved changes\nWould you like to save those before closing the datafile?")); } else { - char *label_text = (char*) malloc(sizeof(char) * (94 + strlen(existing_filename))); + char *label_text = (char*) malloc(sizeof(char) * + (strlen(_("You have unsaved changes to file: %s \nWould you like to save those before closing the datafile?")) + + strlen(existing_filename))); sprintf(label_text, _("You have unsaved changes to file: %s \nWould you like to save those before closing the datafile?"), existing_filename); |