Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
=== modified file 'src/ui/dialog/aboutbox.cpp'
--- src/ui/dialog/aboutbox.cpp 2016-12-31 12:46:40 +0000
+++ src/ui/dialog/aboutbox.cpp 2017-01-25 22:51:25 +0000
@@ -176,6 +176,9 @@
// should be in UTF-*8..
char *about=g_build_filename(INKSCAPE_SCREENSDIR, _("about.svg"), NULL);
+ if (!g_file_test (about, G_FILE_TEST_EXISTS)) {
+ about=g_build_filename(INKSCAPE_SCREENSDIR, "about.svg", NULL);
+ }
SPDocument *doc=SPDocument::createNewDoc (about, TRUE);
g_free(about);
g_return_val_if_fail(doc != NULL, NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment