diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index a701f52..2474058 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -571,8 +571,9 @@ TQString kdeFindDir(const TQString& suffix, const TQString& file1, const TQStrin TQString runCommand(const TQString& command) { FILE* p = popen(command.latin1(), "r"); - if ((p == NULL) || (p < 0)) + if (p == NULL) { return TQString(); + } TQString ret; while (!feof(p)) |