summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/extension/implementation/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp
index 908ac23b7..9892e897f 100644
--- a/src/extension/implementation/script.cpp
+++ b/src/extension/implementation/script.cpp
@@ -989,7 +989,7 @@ Script::execute (const Glib::ustring &in_command,
} else if (errno == ECHILD) {
perror("Extension::Script: Could not obtain child status for pclose\n");
} else {
- if (errorFile != NULL) {
+ if (!errorFile.empty()) {
checkStderr(errorFile, Gtk::MESSAGE_ERROR,
_("Inkscape has received an error from the script that it called. "
"The text returned with the error is included below. "