Created
January 25, 2017 22:53
-
-
Save su-v/6152a6c27b380ac2f888e1e647c9f90e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== 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