1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Update Shared.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-02-04 08:01:23 +02:00
parent 89d90971fd
commit a5f0b224ce

View File

@ -955,11 +955,11 @@ struct SqAssertResult
// Default? // Default?
if (s.mLen <= 0) if (s.mLen <= 0)
{ {
LogScs(fmt::format(mFStr, mA, mB).c_str()); LogScs("%s", fmt::format(mFStr, mA, mB).c_str());
} }
else else
{ {
LogScs(fmt::format(s.ToStr(), mA, mB).c_str()); LogScs("%s", fmt::format(s.ToStr(), mA, mB).c_str());
} }
// Allow chaining // Allow chaining
return *this; return *this;