From 43fb31603025929ec8e40e2cf06fb63f7f013927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ma=C5=A1karinec?= Date: Sun, 7 Jul 2024 00:40:27 +0200 Subject: [PATCH] Cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek Maškarinec --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index f61d405..60a1e06 100644 --- a/src/window.c +++ b/src/window.c @@ -67,7 +67,8 @@ init() UmkaStackSlot s; if (umkaAlive(thg->umka)) { - int code = umkaCall(thg->umka, umkaGetFunc(thg->umka, "tophat_main.um", "__th_init"), 0, &s, &s); + int code = umkaCall( + thg->umka, umkaGetFunc(thg->umka, "tophat_main.um", "__th_init"), 0, &s, &s); if (!umkaAlive(thg->umka)) { th_print_umka_error_and_quit(code); } @@ -286,7 +287,6 @@ th_window_set_dims(th_vf2 dm) { RECT r; int w = dm.x, h = dm.y; - fu dpi_scale = th_window_dpi_scale(); w32_get_client_window_size(&w, &h); HWND hwnd = th_get_window_handle(); if (GetWindowRect(hwnd, &r)) {