From 2833af123799bcf16c9960da3ad21c2113f9c01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 4 Feb 2018 16:29:44 +0100 Subject: Fix FTBFS with clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdegtk/tdegtk-theme.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.1