mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-14 03:23:29 +00:00
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
This commit is contained in:
commit
8f3150d8f6
@ -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