mingodad 8 роки тому
батько
коміт
ce1c21f8cf
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      SquiLu/squirrel/sqbaselib.cpp

+ 1 - 1
SquiLu/squirrel/sqbaselib.cpp

@@ -408,7 +408,7 @@ static SQRESULT base_str_from_chars (HSQUIRRELVM v) {
 static SQRESULT base_getincludepath(HSQUIRRELVM v)
 {
     const SQChar *include_path = v->GetIncludePath();
-    if(include_path) sq_pushstring(v, include_path, 1);
+    if(include_path) sq_pushstring(v, include_path, -1);
     else sq_pushnull(v);
 	return 1;
 }