summaryrefslogtreecommitdiff
path: root/windows/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/window.c')
-rw-r--r--windows/window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/windows/window.c b/windows/window.c
index 455e6e5f5..d3f2c99c5 100644
--- a/windows/window.c
+++ b/windows/window.c
@@ -1451,16 +1451,16 @@ win32_window_update_box(struct gui_window *gw, const struct rect *rect)
-static void win32_window_get_dimensions(struct gui_window *w, int *width, int *height,
+static void win32_window_get_dimensions(struct gui_window *gw, int *width, int *height,
bool scaled)
{
- if (w == NULL)
+ if (gw == NULL)
return;
- LOG("get dimensions %p w=%d h=%d", w, w->width, w->height);
+ LOG("get dimensions %p w=%d h=%d", gw, gw->width, gw->height);
- *width = w->width;
- *height = w->height;
+ *width = gw->width;
+ *height = gw->height;
}
static void win32_window_update_extent(struct gui_window *w)