Fix some typos

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21077 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-05-25 14:56:59 +00:00
parent 06ba3cceec
commit 7b16010838
2 changed files with 3 additions and 3 deletions

View file

@ -226,7 +226,7 @@ static struct viewport* opt_viewport(lua_State *L, int narg, struct viewport* al
#ifdef HAVE_LCD_COLOR
check_tablevalue(L, "lss_pattern", tablepos, &vp->lss_pattern, true);
check_tablevalue(L, "lse_pattern", tablepos, &vp->lse_pattern, true);
check_tablevalue(L, "lst_pattern", tablepos, &vp->lse_pattern, true);
check_tablevalue(L, "lst_pattern", tablepos, &vp->lst_pattern, true);
#endif
#endif
@ -243,7 +243,7 @@ RB_WRAP(set_viewport)
RB_WRAP(clear_viewport)
{
int screen = luaL_optint(L, 2, SCREEN_MAIN);
int screen = luaL_optint(L, 1, SCREEN_MAIN);
rb->screens[screen]->clear_viewport();
return 0;
}

View file

@ -113,4 +113,4 @@ rb.lcd_update()
rb.button_get(true)
rb.set_viewport()
rb.set_viewport(nil)