diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-10-22 03:58:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-10-22 03:58:52 +0200 |
commit | 20261377cfbbc5490f36017a649ccf47b73e4ca4 (patch) | |
tree | 5ff7814a189f78e99866ebea1963c6607d706bf6 /style | |
parent | 117acbb7bd1907a0734391a9af02fb8e9b2ba7e8 (diff) | |
download | tde-style-baghira-20261377cfbbc5490f36017a649ccf47b73e4ca4.tar.gz tde-style-baghira-20261377cfbbc5490f36017a649ccf47b73e4ca4.zip |
Fix FTBFS with GCC7 on arm
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'style')
-rw-r--r-- | style/polish.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |