summaryrefslogtreecommitdiff
path: root/platform/gl/gl-ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/gl/gl-ui.c')
-rw-r--r--platform/gl/gl-ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-ui.c b/platform/gl/gl-ui.c
index 2d8fd5be..9539af7b 100644
--- a/platform/gl/gl-ui.c
+++ b/platform/gl/gl-ui.c
@@ -687,7 +687,7 @@ void ui_dialog_begin(int w, int h)
y = (ui.window_h-h)/3;
area = fz_make_irect(x, y, x+w, y+h);
ui_draw_bevel_rect(area, UI_COLOR_PANEL, 0);
- fz_expand_irect(&area, -14);
+ area = fz_expand_irect(area, -14);
ui_pack_push(area);
}