summaryrefslogtreecommitdiff
path: root/desktop/frames.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/frames.c')
-rw-r--r--desktop/frames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/frames.c b/desktop/frames.c
index 534cca4f7..ff9b88286 100644
--- a/desktop/frames.c
+++ b/desktop/frames.c
@@ -111,10 +111,10 @@ void browser_window_handle_scrollbars(struct browser_window *bw)
c_height = content_get_height(h);
}
- if (bw->scrolling == SCROLLING_YES) {
+ if (bw->scrolling == BW_SCROLLING_YES) {
scroll_x = true;
scroll_y = true;
- } else if (bw->scrolling == SCROLLING_AUTO &&
+ } else if (bw->scrolling == BW_SCROLLING_AUTO &&
bw->current_content) {
int bw_width = bw->width;
int bw_height = bw->height;