Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
C4Phone committed Dec 10, 2015
1 parent e8b18a1 commit d02ae43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mp3/student-distrib/ui/compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ void Compositor::key(uint32_t kkc, bool capslock)
{
if(kkc &(~KKC_ASCII_MASK))
return;
static Drawable* all[10] = {0};
static Drawable* all[40] = {0};
all[txtX] = addText(txtX++, 0, (char)kkc);
if(txtX >= 10)
if(txtX >= 40)
{
txtX = 0;
for(int i=0; i<10; i++)
for(int i=0; i<40; i++)
(all[i])->hide();
}

Expand Down

0 comments on commit d02ae43

Please sign in to comment.