Skip to content

Commit c3c5ada

Browse files
committed
Merge branch 'refactor/enums_commonh' of https://github.com/FileEX/mtasa-blue into refactor/enums_commonh
2 parents 41824c2 + 481a61d commit c3c5ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/lua/src/lstring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Udata *luaS_newudata (lua_State *L, size_t s, Table *e) {
107107

108108
LUALIB_API unsigned int luaS_hash(const char *str, size_t l)
109109
{
110-
if (!str || str[0] == '\0' || l == 0)
110+
if (!str || l == 0)
111111
return 0;
112112

113113
unsigned int h = cast(unsigned int, l); /* seed */

0 commit comments

Comments
 (0)