Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
SRB2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
244
Issues
244
List
Board
Labels
Milestones
Merge Requests
68
Merge Requests
68
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
STJr
SRB2
Commits
d8066557
Commit
d8066557
authored
Nov 23, 2020
by
GoldenTails
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a dumb typo of luaL_checklstring i made whoops
parent
8d71559a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lua_script.c
src/lua_script.c
+1
-1
No files found.
src/lua_script.c
View file @
d8066557
...
...
@@ -402,7 +402,7 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
else
if
(
fastcmp
(
word
,
"mapmusname"
))
{
size_t
strlength
;
const
char
*
str
=
luaL_checkstring
(
L
,
2
,
&
strlength
);
const
char
*
str
=
luaL_check
l
string
(
L
,
2
,
&
strlength
);
if
(
strlength
>
6
)
return
luaL_error
(
L
,
"string length out of range (maximum 6 characters)"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment