diff options
author | Slávek Banko <[email protected]> | 2018-02-04 16:28:35 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-02-04 16:28:35 +0100 |
commit | 1045125941918516e9cbf55f8162c521e3588317 (patch) | |
tree | 05c6fecdded5ae38ca0bcf30f6c78261d0913729 /src | |
parent | 76cb77b1a7c280f2ed94505caca38d5657092309 (diff) | |
download | gtk-qt-engine-1045125941918516e9cbf55f8162c521e3588317.tar.gz gtk-qt-engine-1045125941918516e9cbf55f8162c521e3588317.zip |
Fix FTBFS with clang
Signed-off-by: Slávek Banko <[email protected]>
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)) |