forked from KolibriOS/kolibrios
Quark 0.91: 10 times decrease mem usage (thanks turbocat for a found issue)
git-svn-id: svn://kolibrios.org@8511 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b342a5daa7
commit
ba7d211fb2
@ -52,7 +52,7 @@ Try to open some text file.";
|
|||||||
|
|
||||||
char copied_chars[] = "Copied %i chars";
|
char copied_chars[] = "Copied %i chars";
|
||||||
|
|
||||||
char about[] = "Quark Text v0.9
|
char about[] = "Quark Text v0.91
|
||||||
Author: Kiril Lipatov aka Leency
|
Author: Kiril Lipatov aka Leency
|
||||||
Website: http://aspero.pro
|
Website: http://aspero.pro
|
||||||
|
|
||||||
|
@ -3,11 +3,8 @@ void ParseAndPaint()
|
|||||||
{
|
{
|
||||||
list.count=0;
|
list.count=0;
|
||||||
selection.cancel();
|
selection.cancel();
|
||||||
|
if (list.w != canvas.bufw) canvas.Init(list.x, list.y, list.w, screen.height);
|
||||||
Parse();
|
Parse();
|
||||||
|
|
||||||
list.visible = list.h / list.item_h;
|
|
||||||
canvas.Init(list.x, list.y, list.w, list.visible+1*list.item_h);
|
|
||||||
DrawPage();
|
DrawPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user