correct typo in error message
authorCesare Tirabassi <norsetto@ubuntu.com>
Wed, 29 Jul 2009 16:04:34 +0000 (18:04 +0200)
committerCesare Tirabassi <norsetto@ubuntu.com>
Wed, 29 Jul 2009 16:04:34 +0000 (18:04 +0200)
src/llua.c

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