From d02ae432efac233a0b0f0a5ef0620f9605ec3537 Mon Sep 17 00:00:00 2001 From: C4Phone Date: Thu, 10 Dec 2015 14:14:28 -0600 Subject: [PATCH] more --- mp3/student-distrib/ui/compositor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mp3/student-distrib/ui/compositor.cpp b/mp3/student-distrib/ui/compositor.cpp index 95eb959c..4d73376b 100644 --- a/mp3/student-distrib/ui/compositor.cpp +++ b/mp3/student-distrib/ui/compositor.cpp @@ -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(); }