diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-06-30 10:34:36 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-06-30 10:34:36 +0000 |
| commit | 3a9192e85fbb252b1d2d899788140845e8db28ea (patch) | |
| tree | ae20d35cbf04708ea0fd0f280d0b54b8097e6f8a /src/extension/implementation/script.cpp | |
| parent | undo annotations (diff) | |
| download | inkscape-3a9192e85fbb252b1d2d899788140845e8db28ea.tar.gz inkscape-3a9192e85fbb252b1d2d899788140845e8db28ea.zip | |
fix bug where a Glib::ustring was compared to NULL which prevented an error message from being shown (see #1512876)
(bzr r1328)
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 2 |
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. " |
