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:
Kirill Lipatov (Leency) 2021-01-04 13:17:12 +00:00
parent b342a5daa7
commit ba7d211fb2
2 changed files with 2 additions and 5 deletions

View File

@ -52,7 +52,7 @@ Try to open some text file.";
char copied_chars[] = "Copied %i chars";
char about[] = "Quark Text v0.9
char about[] = "Quark Text v0.91
Author: Kiril Lipatov aka Leency
Website: http://aspero.pro

View File

@ -3,11 +3,8 @@ void ParseAndPaint()
{
list.count=0;
selection.cancel();
if (list.w != canvas.bufw) canvas.Init(list.x, list.y, list.w, screen.height);
Parse();
list.visible = list.h / list.item_h;
canvas.Init(list.x, list.y, list.w, list.visible+1*list.item_h);
DrawPage();
}