From 20261377cfbbc5490f36017a649ccf47b73e4ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Oct 2017 03:58:52 +0200 Subject: Fix FTBFS with GCC7 on arm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- style/polish.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style') diff --git a/style/polish.cpp b/style/polish.cpp index f73a2b6..49ceeb8 100644 --- a/style/polish.cpp +++ b/style/polish.cpp @@ -339,7 +339,7 @@ void LiquidStyle::polish( const TQStyleControlElementData &ceData, ControlElemen int format, result; unsigned long n, left; result = XGetWindowProperty(tqt_xdisplay(), w->winId(), baghira_deco_design, 0L, 1L, False, XA_CARDINAL, &actual, &format, &n, &left, &data); - if (result != Success || data == None) // not found set design + if (result != Success || data == NULL) // not found set design { int tmp = optionHandler->wmDesign != Tiger ? optionHandler->wmDesign : Panther; XChangeProperty(tqt_xdisplay(), w->winId(), baghira_deco_design, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &(tmp), 1L); -- cgit v1.2.1