From 1b07fb05123bbcf68b7e3f7cb311ad0fe2029556 Mon Sep 17 00:00:00 2001 From: BotoX Date: Tue, 8 Oct 2019 23:04:56 +0200 Subject: [PATCH] Fix error in GlowColors --- GlowColors/scripting/GlowColors.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GlowColors/scripting/GlowColors.sp b/GlowColors/scripting/GlowColors.sp index 80b4d377..c82482c8 100644 --- a/GlowColors/scripting/GlowColors.sp +++ b/GlowColors/scripting/GlowColors.sp @@ -262,7 +262,7 @@ public MRESReturn AcceptInput(int pThis, Handle hReturn, Handle hParams) sValue[i] = '\0'; bFound = false; - if(iArgs > sizeof(aArgs)) + if(iArgs >= sizeof(aArgs)) break; } continue;