Skip to content

Commit 5922824

Browse files
authored
Merge pull request #1180 from niffiwan/coverity/1370830
Fix Coverity 1370830
2 parents fe1e9ca + e6bff4f commit 5922824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/scripting/scripting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ void script_state::ParseChunkSub(script_function& script_func, const char* debug
11171117

11181118
if(cfp == NULL)
11191119
{
1120-
Warning(LOCATION, "Could not load lua script file '%s'", filename);
1120+
Warning(LOCATION, "Could not load lua script file '%s'", function_name.c_str());
11211121
return;
11221122
}
11231123
else

0 commit comments

Comments
 (0)