aboutsummaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index cc9c9fc..b35eb07 100644
--- a/src/window.c
+++ b/src/window.c
@@ -181,7 +181,7 @@ cairo_t *window_get_context(Window *win)
double window_get_scale(Window *win)
{
- return MAX(1, win->con->screen_dpi/96.);
+ return MAX(1, win->con->screen_dpi / 96.0);
}
void window_get_screen_size(Window *win, int *width, int *height)