Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Maškarinec <[email protected]>
  • Loading branch information
marekmaskarinec committed Jul 6, 2024
1 parent d4394c3 commit 43fb316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 43fb316

Please sign in to comment.