summaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/window.c b/window.c
index df4fbf868..790fa1bde 100644
--- a/window.c
+++ b/window.c
@@ -110,7 +110,6 @@ static void DispatchLeftClickEvent(Window *w, int x, int y)
case WWT_TEXTBTN | WWB_PUSHBUTTON: /* WWT_PUSHTXTBTN */
HandleButtonClick(w, e.we.click.widget);
break;
- case WWT_NODISTXTBTN: break;
}
} else if (wi->type == WWT_SCROLLBAR || wi->type == WWT_SCROLL2BAR || wi->type == WWT_HSCROLLBAR) {
ScrollbarClickHandler(w, wi, e.we.click.pt.x, e.we.click.pt.y);