1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

app-tools, app: gimp-debug-tool crashing with NULL release_date.

The crash dialog was failing to be created when using the last version
of GIMP!
This commit is contained in:
Jehan
2020-03-27 19:44:41 +01:00
parent dd705e21c0
commit d76c8e8cc3
2 changed files with 10 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ main (int argc,
gtk_init (&argc, &argv);
dialog = gimp_critical_dialog_new (_("GIMP Crash Debug"), last_version,
g_ascii_strtoll (release_date, NULL, 10));
release_date ? g_ascii_strtoll (release_date, NULL, 10) : -1);
gimp_critical_dialog_add (dialog, error, trace, TRUE, program,
g_ascii_strtoull (pid, NULL, 10));
g_free (error);