Sfoglia il codice sorgente

Small source format fix

mingodad 8 anni fa
parent
commit
d7579831b3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      SquiLu/sqstdlib/sqstdstring.cpp

+ 2 - 2
SquiLu/sqstdlib/sqstdstring.cpp

@@ -78,8 +78,8 @@ SQRESULT sqstd_format(HSQUIRRELVM v,SQInteger nformatstringidx,SQInteger *outlen
 	SQChar fmt[MAX_FORMAT_LEN];
 	SQRESULT res = sq_getstring(v,nformatstringidx,&format);
 	if (SQ_FAILED(res)) {
-        return res; // propagate the error
-    }
+		return res; // propagate the error
+	}
 	SQInteger format_size = sq_getsize(v,nformatstringidx);
 	SQInteger allocated = (format_size+2)*sizeof(SQChar);
 	dest = sq_getscratchpad(v,allocated);