1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update Shared.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-08-18 22:18:57 +03:00
parent 11f3c52319
commit f23a8bc8f5

View File

@ -807,7 +807,7 @@ static SQInteger SqPackARGB(SQInteger r, SQInteger g, SQInteger b, SQInteger a)
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static SQInteger SqNameFilterCheck(HSQUIRRELVM vm) static SQInteger SqNameFilterCheck(HSQUIRRELVM vm)
{ {
const int32_t top = sq_gettop(vm); SQInteger top = sq_gettop(vm);
// Was the filter string specified? // Was the filter string specified?
if (top <= 1) if (top <= 1)
{ {
@ -1031,7 +1031,7 @@ const String CmpGE::FSTRV("Assertion failed. Value mismatch: {0} >= {1}"); // NO
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
static SQInteger SqNameFilterCheckInsensitive(HSQUIRRELVM vm) static SQInteger SqNameFilterCheckInsensitive(HSQUIRRELVM vm)
{ {
const int32_t top = sq_gettop(vm); SQInteger top = sq_gettop(vm);
// Was the filter string specified? // Was the filter string specified?
if (top <= 1) if (top <= 1)
{ {