summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlinexact.cpp
diff options
context:
space:
mode:
authordmitry.zhulanov@gmail.com <>2017-06-03 06:41:49 +0000
committerdmitry.zhulanov@gmail.com <>2017-06-03 06:41:49 +0000
commit6b20733af3ca815d12168948ff6d7f3737d17541 (patch)
tree0523f4ee8b38252e9c985301ae916af946290fb8 /src/main-cmdlinexact.cpp
parentimprove open .yaml error message and exit with error (diff)
downloadinkscape-6b20733af3ca815d12168948ff6d7f3737d17541.tar.gz
inkscape-6b20733af3ca815d12168948ff6d7f3737d17541.zip
fix crash in XFileOpen
Fixed bugs: - https://launchpad.net/bugs/1692699 (bzr r15700.1.2)
Diffstat (limited to 'src/main-cmdlinexact.cpp')
-rw-r--r--src/main-cmdlinexact.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp
index 2806e5b5f..676bf7b44 100644
--- a/src/main-cmdlinexact.cpp
+++ b/src/main-cmdlinexact.cpp
@@ -120,6 +120,7 @@ void xFileOpen( const Glib::ustring &uri )
std::string exeption_mgs = e.what();
printf("Error: open %s:%s\n",uri.c_str(), exeption_mgs.c_str() );
fflush(stdout);
+ return;
}
// Set viewBox if it doesn't exist