summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-11-11 11:20:05 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-11-11 11:20:05 +0000
commitf8a5b66bb57495c83274218dc98530a071b10f27 (patch)
tree0daca6f3d143d95739dd6fb423a7e262f13275b7 /src/selection-chemistry.cpp
parentBuild. Fixing win32 build with cairo > 1.11.4 (replacing uint with unsigned i... (diff)
downloadinkscape-f8a5b66bb57495c83274218dc98530a071b10f27.tar.gz
inkscape-f8a5b66bb57495c83274218dc98530a071b10f27.zip
cppcheck: Convert more C-style pointer casts to GObject or C++
(bzr r11867)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 904e21960..3b1028ab8 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -3450,7 +3450,10 @@ void sp_selection_create_bitmap_copy(SPDesktop *desktop)
// Run filter, if any
if (run) {
g_print("Running external filter: %s\n", run);
- system(run);
+ int result = system(run);
+
+ if(result == -1)
+ g_warning("Could not run external filter: %s\n", run);
}
// Import the image back