aboutsummaryrefslogtreecommitdiff
path: root/TUI/unix.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-12-30 02:38:33 +0000
committerdam <dam@gudinoff>2025-02-14 10:49:01 +0000
commit120dac0d67cba1b39a7aedc1bf4493e1ef2cb5c4 (patch)
tree428dff39d60a9fecb9b0ed36024064614e5e089e /TUI/unix.jai
parent863bfec23df598b476e26559c117791d1083611a (diff)
downloadjai-modules-120dac0d67cba1b39a7aedc1bf4493e1ef2cb5c4.tar.zst
jai-modules-120dac0d67cba1b39a7aedc1bf4493e1ef2cb5c4.zip
Update code to comply with compiler beta 0.2.004.
Diffstat (limited to 'TUI/unix.jai')
-rw-r--r--TUI/unix.jai3
1 files changed, 1 insertions, 2 deletions
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);
}