1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

correct typo in error message

This commit is contained in:
Cesare Tirabassi 2009-07-29 18:04:34 +02:00
parent 81c691d15a
commit 580fa3a52d

View File

@ -74,7 +74,7 @@ static int llua_conky_set_update_interval(lua_State *L)
lua_error(L); lua_error(L);
} }
if (!lua_isnumber(L, 1)) { if (!lua_isnumber(L, 1)) {
lua_pushstring(L, "incorrect argument (expecting a string)"); lua_pushstring(L, "incorrect argument (expecting a number)");
lua_error(L); lua_error(L);
} }
value = lua_tonumber(L, 1); value = lua_tonumber(L, 1);