summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/scrollbar.c2
-rw-r--r--desktop/scrollbar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scrollbar.c b/desktop/scrollbar.c
index 0907cb1db..31311b058 100644
--- a/desktop/scrollbar.c
+++ b/desktop/scrollbar.c
@@ -421,7 +421,7 @@ void scrollbar_set(struct scrollbar *s, int value, bool bar_pos)
msg.scrollbar = s;
msg.msg = SCROLLBAR_MSG_MOVED;
- msg.new_scroll = s->offset;
+ msg.scroll_offset = s->offset;
s->client_callback(s->client_data, &msg);
msg.msg = SCROLLBAR_MSG_REDRAW;
diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h
index d9deed304..66bf83cf2 100644
--- a/desktop/scrollbar.h
+++ b/desktop/scrollbar.h
@@ -46,7 +46,7 @@ typedef enum {
struct scrollbar_msg_data {
struct scrollbar *scrollbar;
scrollbar_msg msg;
- int new_scroll;
+ int scroll_offset;
int x0, y0, x1, y1;
};