From 1d8783cd26aa5abc3e65df046a719b3eaa15744b Mon Sep 17 00:00:00 2001 From: hgn Date: Sat, 5 Jul 2025 00:21:41 +0100 Subject: [PATCH] FUCKING STUPID --- vg_console.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vg_console.c b/vg_console.c index 9d18e84..cd7d07c 100644 --- a/vg_console.c +++ b/vg_console.c @@ -249,11 +249,13 @@ void vg_execute_console_input( const char *cmd, bool silent, bool cheat_override { vg_str *str = cv->data; vg_strfree( str ); - vg_strnull( str, NULL, -1 ); + vg_strnull( str, NULL, 0 ); - for( int i=1; i