mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Indentation.
This commit is contained in:
parent
bc6a43d84c
commit
d5bfeced1c
@ -428,12 +428,12 @@ void ExtendedFormatProcess(StackStrF & ss, SQInteger top)
|
|||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
static SQInteger SqFormat(HSQUIRRELVM vm)
|
static SQInteger SqFormat(HSQUIRRELVM vm)
|
||||||
{
|
{
|
||||||
const SQInteger top = sq_gettop(vm);
|
const SQInteger top = sq_gettop(vm);
|
||||||
// Make sure we have enough parameters
|
// Make sure we have enough parameters
|
||||||
if (top < 2)
|
if (top < 2)
|
||||||
{
|
{
|
||||||
return sq_throwerror(vm, "Insufficient parameters");
|
return sq_throwerror(vm, "Insufficient parameters");
|
||||||
}
|
}
|
||||||
|
|
||||||
FormatContext ctx;
|
FormatContext ctx;
|
||||||
// Attempt to generate the formatted string
|
// Attempt to generate the formatted string
|
||||||
@ -450,12 +450,12 @@ static SQInteger SqFormat(HSQUIRRELVM vm)
|
|||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
static SQInteger SqLocaleFormat(HSQUIRRELVM vm)
|
static SQInteger SqLocaleFormat(HSQUIRRELVM vm)
|
||||||
{
|
{
|
||||||
const SQInteger top = sq_gettop(vm);
|
const SQInteger top = sq_gettop(vm);
|
||||||
// Make sure we have enough parameters
|
// Make sure we have enough parameters
|
||||||
if (top < 3)
|
if (top < 3)
|
||||||
{
|
{
|
||||||
return sq_throwerror(vm, "Insufficient parameters");
|
return sq_throwerror(vm, "Insufficient parameters");
|
||||||
}
|
}
|
||||||
|
|
||||||
StackStrF loc(vm, 2);
|
StackStrF loc(vm, 2);
|
||||||
// Attempt to generate the locale string
|
// Attempt to generate the locale string
|
||||||
|
Loading…
Reference in New Issue
Block a user