From d5bfeced1caf60fbc139e37a56d2ee298e523a8d Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 20 Apr 2021 20:07:06 +0300 Subject: [PATCH] Indentation. --- module/Library/Format.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/module/Library/Format.cpp b/module/Library/Format.cpp index 6f9e0f21..d52218e5 100644 --- a/module/Library/Format.cpp +++ b/module/Library/Format.cpp @@ -428,12 +428,12 @@ void ExtendedFormatProcess(StackStrF & ss, SQInteger top) // ------------------------------------------------------------------------------------------------ static SQInteger SqFormat(HSQUIRRELVM vm) { - const SQInteger top = sq_gettop(vm); - // Make sure we have enough parameters - if (top < 2) - { - return sq_throwerror(vm, "Insufficient parameters"); - } + const SQInteger top = sq_gettop(vm); + // Make sure we have enough parameters + if (top < 2) + { + return sq_throwerror(vm, "Insufficient parameters"); + } FormatContext ctx; // Attempt to generate the formatted string @@ -450,12 +450,12 @@ static SQInteger SqFormat(HSQUIRRELVM vm) // ------------------------------------------------------------------------------------------------ static SQInteger SqLocaleFormat(HSQUIRRELVM vm) { - const SQInteger top = sq_gettop(vm); - // Make sure we have enough parameters - if (top < 3) - { - return sq_throwerror(vm, "Insufficient parameters"); - } + const SQInteger top = sq_gettop(vm); + // Make sure we have enough parameters + if (top < 3) + { + return sq_throwerror(vm, "Insufficient parameters"); + } StackStrF loc(vm, 2); // Attempt to generate the locale string