Pārlūkot izejas kodu

Changed the return value of sqext_register_base64 to be the same in all. This value is mostly ignored.

mingodad 13 gadi atpakaļ
vecāks
revīzija
3381e85cf9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      ext/sq_base64.cpp

+ 1 - 1
ext/sq_base64.cpp

@@ -143,7 +143,7 @@ SQRESULT sqext_register_base64(HSQUIRRELVM v)
     sq_newtable(v);
     sq_newtable(v);
     sq_insert_reg_funcs(v, base64_methods);
     sq_insert_reg_funcs(v, base64_methods);
     sq_newslot(v,-3,SQTrue);
     sq_newslot(v,-3,SQTrue);
-    return 1;
+    return 0;
 }
 }
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus