very small fix to a Lua error message text.

This commit is contained in:
adelikat 2009-01-01 15:04:05 +00:00
parent c0889137b1
commit 4620963ec4
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ static int joypad_read(lua_State *L) {
int which = luaL_checkinteger(L,1); int which = luaL_checkinteger(L,1);
if (which < 1 || which > 4) { if (which < 1 || which > 4) {
luaL_error(L,"Invalid input port (valid range 1-2, specified %d)", which); luaL_error(L,"Invalid input port (valid range 1-4, specified %d)", which);
} }
// Use the OS-specific code to do the reading. // Use the OS-specific code to do the reading.