Cleanup: [Script] Use nullptr instead of 0 or NULL

This commit is contained in:
Rubidium
2021-06-16 21:10:41 +02:00
committed by rubidium42
parent 930bb22416
commit 3237e97b35
7 changed files with 16 additions and 16 deletions

View File

@@ -256,7 +256,7 @@ void Squirrel::RunError(HSQUIRRELVM vm, const SQChar *error)
SQInteger Squirrel::_RunError(HSQUIRRELVM vm)
{
const SQChar *sErr = 0;
const SQChar *sErr = nullptr;
if (sq_gettop(vm) >= 1) {
if (SQ_SUCCEEDED(sq_getstring(vm, -1, &sErr))) {