forked from KolibriOS/kolibrios
return back mem_init()
git-svn-id: svn://kolibrios.org@7812 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a3563bcf26
commit
23edf2e721
@ -651,7 +651,7 @@ void ______INIT______()
|
||||
screen.width = GetScreenWidth()+1;
|
||||
screen.height = GetScreenHeight()+1;
|
||||
__generator = GetStartTime();
|
||||
//mem_init();
|
||||
mem_init();
|
||||
main();
|
||||
}
|
||||
______STOP______:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user