From 120dac0d67cba1b39a7aedc1bf4493e1ef2cb5c4 Mon Sep 17 00:00:00 2001 From: dam Date: Mon, 30 Dec 2024 02:38:33 +0000 Subject: Update code to comply with compiler beta 0.2.004. --- TUI/unix.jai | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TUI/unix.jai') diff --git a/TUI/unix.jai b/TUI/unix.jai index 99cc61d..9208e4b 100644 --- a/TUI/unix.jai +++ b/TUI/unix.jai @@ -207,8 +207,7 @@ //////////////////////////////////////////////////////////////////////////////// resize_handler :: (signal_code : s32) #c_call { - new_context : Context; - push_context new_context { + push_context { if signal_code != SIGWINCH then return; atomic_swap(*was_resized, true); } -- cgit v1.2.3