lua.c
changeset 135 0e407455faca
parent 134 d7ab555b9766
child 137 4fda19d05965
equal deleted inserted replaced
134:d7ab555b9766 135:0e407455faca
   149 			luaL_addlstring (&B, xbuf, 8); // XXX
   149 			luaL_addlstring (&B, xbuf, 8); // XXX
   150 		}
   150 		}
   151 	}
   151 	}
   152 	luaL_pushresult (&B);
   152 	luaL_pushresult (&B);
   153 
   153 
   154 	scr_log_print (LPRINT_LOGNORM | LPRINT_NOTUTF8, lua_tostring (L, -1));
   154 	scr_log_print (LPRINT_LOGNORM | LPRINT_NOTUTF8, "%s", lua_tostring (L, -1));
   155 	return 0;
   155 	return 0;
   156 }
   156 }
   157 
   157 
   158 /// dopath
   158 /// dopath
   159 /// Loads lua file from default location.
   159 /// Loads lua file from default location.