From 552aab42e16689c24ac566913b02c7613bfc090b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 2 Aug 2019 12:25:35 +0100 Subject: remove scaled parameter from get_dimensions --- frontends/monkey/browser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'frontends/monkey') diff --git a/frontends/monkey/browser.c b/frontends/monkey/browser.c index a00dcb48b..d6dd95189 100644 --- a/frontends/monkey/browser.c +++ b/frontends/monkey/browser.c @@ -119,18 +119,18 @@ gui_window_set_title(struct gui_window *g, const char *title) * \param g The gui window to measure content area of. * \param width receives width of window * \param height receives height of window - * \param scaled whether to return scaled values * \return NSERROR_OK on sucess and width and height updated. */ static nserror -gui_window_get_dimensions(struct gui_window *g, int *width, int *height, - bool scaled) +gui_window_get_dimensions(struct gui_window *g, int *width, int *height) { - moutf(MOUT_WINDOW, "GET_DIMENSIONS WIN %u WIDTH %d HEIGHT %d", - g->win_num, g->width, g->height); *width = g->width; *height = g->height; + moutf(MOUT_WINDOW, + "GET_DIMENSIONS WIN %u WIDTH %d HEIGHT %d", + g->win_num, *width, *height); + return NSERROR_OK; } -- cgit v1.2.3