From 147534a954e65983ca96022c87f177291e32636b Mon Sep 17 00:00:00 2001 From: xolatile Date: Mon, 2 Oct 2023 16:25:54 -0400 Subject: [PATCH] Some dumb changes... --- xyntax.c | 2 +- xyntax.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/xyntax.c b/xyntax.c index 764b8f7..d0f2377 100644 --- a/xyntax.c +++ b/xyntax.c @@ -83,7 +83,7 @@ int syntax_select (char * string, int * length) { if (select == syntax_count) { * length = 1; - return (select); + return (0); } do { diff --git a/xyntax.h b/xyntax.h index 04666af..772fbba 100644 --- a/xyntax.h +++ b/xyntax.h @@ -10,7 +10,6 @@ #define XYNTAX_HEADER #include -#include extern int syntax_count; extern int * syntax_enrange;