]> git.tdb.fi Git - ext/subsurface.git/blobdiff - gtk-gui.c
Merge git://git.tdb.fi/ext/subsurface
[ext/subsurface.git] / gtk-gui.c
index bc8e6e00097e8f8c4f51cb00b3eaadedf415b5d6..2a4d77ac9a78e60cc052ddbfdf3e36421b6d6109 100644 (file)
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -262,7 +262,7 @@ static gboolean ask_save_changes()
                label = gtk_label_new (
                        "You have unsaved changes\nWould you like to save those before exiting the program?");
        } else {
-               char *label_text = (char*) malloc(sizeof(char) * (92 + strlen(existing_filename)));
+               char *label_text = (char*) malloc(sizeof(char) * (93 + strlen(existing_filename)));
                sprintf(label_text,
                        "You have unsaved changes to file: %s \nWould you like to save those before exiting the program?",
                        existing_filename);