From: hgn Date: Fri, 4 Jul 2025 23:21:41 +0000 (+0100) Subject: FUCKING STUPID X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;h=1d8783cd26aa5abc3e65df046a719b3eaa15744b;p=vg.git FUCKING STUPID --- 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