summaryrefslogtreecommitdiff
path: root/frontends/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-02 12:25:35 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-02 12:26:20 +0100
commit552aab42e16689c24ac566913b02c7613bfc090b (patch)
tree76af19cc73daaa1a5b85bab002ce730b315c0fbc /frontends/windows
parent4ae27a65929a5fe333dc9f9f0d43ac91a72a0116 (diff)
downloadnetsurf-552aab42e16689c24ac566913b02c7613bfc090b.tar.gz
netsurf-552aab42e16689c24ac566913b02c7613bfc090b.tar.bz2
remove scaled parameter from get_dimensions
Diffstat (limited to 'frontends/windows')
-rw-r--r--frontends/windows/window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontends/windows/window.c b/frontends/windows/window.c
index 689e78d8c..06e734628 100644
--- a/frontends/windows/window.c
+++ b/frontends/windows/window.c
@@ -1522,12 +1522,10 @@ static void win32_window_destroy(struct gui_window *w)
* \param gw gui_window to measure
* \param width receives width of window
* \param height receives height of window
- * \param scaled whether to return scaled values
+ * \return NSERROR_OK and width and height updated
*/
static nserror
-win32_window_get_dimensions(struct gui_window *gw,
- int *width, int *height,
- bool scaled)
+win32_window_get_dimensions(struct gui_window *gw, int *width, int *height)
{
*width = gw->width;
*height = gw->height;