April 1-st is already passed

This commit is contained in:
pelya
2017-04-05 23:30:07 +03:00
parent 3364c4288d
commit 2f31a81021

View File

@@ -895,7 +895,7 @@ NWidgetCore *NWidgetCore::GetWidgetFromPos(int x, int y)
void NWidgetCore::DrawEdgeOrnament(const Window *w) const
{
if (!_settings_client.gui.windows_decorations ^ _settings_client.gui.windows_titlebars) return; // April 1st, fools!
if (!_settings_client.gui.windows_decorations) return;
if (w->window_class == WC_MAIN_TOOLBAR ||
w->window_class == WC_MAIN_TOOLBAR_RIGHT ||
w->window_class == WC_BUILD_CONFIRMATION ||