diff options
| author | dmitry.zhulanov@gmail.com <> | 2017-06-03 13:40:10 +0000 |
|---|---|---|
| committer | dmitry.zhulanov@gmail.com <> | 2017-06-03 13:40:10 +0000 |
| commit | de3945431b7222ed127ed59cdae8990640b79170 (patch) | |
| tree | 311501102442c46b0788f3c34caf79debc38b5f6 /src | |
| parent | handle svg documents relative to .yaml path (diff) | |
| download | inkscape-de3945431b7222ed127ed59cdae8990640b79170.tar.gz inkscape-de3945431b7222ed127ed59cdae8990640b79170.zip | |
abort Inkscape if XFileOpen command fails
Fixed bugs:
- https://launchpad.net/bugs/1695606
(bzr r15700.1.5)
Diffstat (limited to 'src')
| -rw-r--r-- | src/main-cmdlinexact.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp index 9e7231194..9827378b2 100644 --- a/src/main-cmdlinexact.cpp +++ b/src/main-cmdlinexact.cpp @@ -119,7 +119,7 @@ void xFileOpen( const Glib::ustring &uri ) if (!Inkscape::IO::file_test(document_filename.c_str(), (GFileTest)(G_FILE_TEST_EXISTS))) { printf("document is not exists: %s\n", document_filename.c_str()); - return; + exit(1); } if (s_verbose) { |
