diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-02-04 16:29:44 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-02-04 16:29:55 +0100 |
commit | 04dad58537b8844c15df2adccc74dfe2a73a3139 (patch) | |
tree | 599c09e59ffc975b0381bb1745954541ed44b8b8 | |
parent | 8be333fc16024fa3d1d2fad9b69d0baca1ee953c (diff) | |
download | gtk3-tqt-engine-04dad58537b8844c15df2adccc74dfe2a73a3139.tar.gz gtk3-tqt-engine-04dad58537b8844c15df2adccc74dfe2a73a3139.zip |
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2833af123799bcf16c9960da3ad21c2113f9c01c)
-rw-r--r-- | tdegtk/tdegtk-theme.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp index 2f0b00f..b99c485 100644 --- a/tdegtk/tdegtk-theme.cpp +++ b/tdegtk/tdegtk-theme.cpp @@ -200,8 +200,9 @@ TQString tdeFindDir(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)) |