fix for targets using line edit in virtual keyboard (spotted by freqmod)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10294 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Martin Scarratt 2006-07-23 15:12:34 +00:00
parent ffc0cab816
commit d29c03484b

View file

@ -823,12 +823,12 @@ int kbd_input(char* text, int buflen)
{ {
if (param[l].y < param[l].lines - 1) if (param[l].y < param[l].lines - 1)
param[l].y++; param[l].y++;
#ifndef KBD_MODES
else else
#ifndef KBD_MODES
param[l].y=0;} param[l].y=0;}
#else #else
line_edit = true;
} }
line_edit = true;
} }
if (!line_edit) if (!line_edit)
#endif #endif