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:
parent
81c691d15a
commit
580fa3a52d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user