summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlinexact.cpp
diff options
context:
space:
mode:
authordmitry.zhulanov@gmail.com <>2017-06-03 13:50:01 +0000
committerdmitry.zhulanov@gmail.com <>2017-06-03 13:50:01 +0000
commit745324f2e65dec6eeec16585f5d5ca639179ded3 (patch)
treeae2d94d36cc2eeaa1ac0237373e6ae52e8e34013 /src/main-cmdlinexact.cpp
parentabort Inkscape if XFileOpen command fails (diff)
downloadinkscape-745324f2e65dec6eeec16585f5d5ca639179ded3.tar.gz
inkscape-745324f2e65dec6eeec16585f5d5ca639179ded3.zip
minor fixes
Fixed bugs: - https://launchpad.net/bugs/1692699 (bzr r15700.1.6)
Diffstat (limited to 'src/main-cmdlinexact.cpp')
-rw-r--r--src/main-cmdlinexact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp
index 9827378b2..4da138f0c 100644
--- a/src/main-cmdlinexact.cpp
+++ b/src/main-cmdlinexact.cpp
@@ -118,7 +118,7 @@ void xFileOpen( const Glib::ustring &uri )
Glib::ustring document_filename = getDocumentPathRelatedYaml(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());
+ printf("SVG document does not exist: %s\n", document_filename.c_str());
exit(1);
}
@@ -319,7 +319,7 @@ parseVerbsYAMLFile(gchar const *yaml_filename)
FILE *fh = fopen(yaml_filename, "r");
if(fh == NULL) {
- printf("Failed to open file %s\n", yaml_filename);
+ printf("Failed to read from file %s\n", yaml_filename);
fflush(stdout);
// exit with error