Fix some typos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21077 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
06ba3cceec
commit
7b16010838
2 changed files with 3 additions and 3 deletions
|
@ -226,7 +226,7 @@ static struct viewport* opt_viewport(lua_State *L, int narg, struct viewport* al
|
||||||
#ifdef HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
check_tablevalue(L, "lss_pattern", tablepos, &vp->lss_pattern, true);
|
check_tablevalue(L, "lss_pattern", tablepos, &vp->lss_pattern, true);
|
||||||
check_tablevalue(L, "lse_pattern", tablepos, &vp->lse_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
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -243,7 +243,7 @@ RB_WRAP(set_viewport)
|
||||||
|
|
||||||
RB_WRAP(clear_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();
|
rb->screens[screen]->clear_viewport();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,4 +113,4 @@ rb.lcd_update()
|
||||||
|
|
||||||
rb.button_get(true)
|
rb.button_get(true)
|
||||||
|
|
||||||
rb.set_viewport()
|
rb.set_viewport(nil)
|
||||||
|
|
Loading…
Reference in a new issue