diff --git a/programs/cmm/lib/kolibri.h b/programs/cmm/lib/kolibri.h index 73584634e2..fdf98ec1b4 100644 --- a/programs/cmm/lib/kolibri.h +++ b/programs/cmm/lib/kolibri.h @@ -651,7 +651,7 @@ void ______INIT______() screen.width = GetScreenWidth()+1; screen.height = GetScreenHeight()+1; __generator = GetStartTime(); - //mem_init(); + mem_init(); main(); } ______STOP______: diff --git a/programs/cmm/lib/list_box.h b/programs/cmm/lib/list_box.h index 8c833e7250..31615003cd 100644 --- a/programs/cmm/lib/list_box.h +++ b/programs/cmm/lib/list_box.h @@ -78,12 +78,14 @@ struct llist { if (first == 0) return 0; if (first > wheel_size+1) first -= wheel_size; else first=0; + CheckDoesValuesOkey(); return 1; } if (scroll_state == 1) { if (visible + first == count) return 0; if (visible+first+wheel_size+1 > count) first = count - visible; else first+=wheel_size; + CheckDoesValuesOkey(); return 1; } return 0;