git-svn-id: svn://kolibrios.org@7751 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-03-25 00:23:58 +00:00
parent e7484ebe37
commit 00d0aad98e

View File

@ -358,14 +358,14 @@ void InitTWB() {
WB1.list.first = WB1.list.count = 0; WB1.list.first = WB1.list.count = 0;
} }
void DrawLetter() { void DrawLetter() {
bufsize = strlen(mdata); bufsize = strlen(mdata);
WB1.LoadInternalPage(bufsize, mdata); bufpointer = mdata;
if (bufsize) WB1.Prepare(); if (bufsize) && (bufpointer) WB1.Prepare();
DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, 0xFFFfff); DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, 0xFFFfff);
} }
void DrawScroller1() { void DrawScroller1() {
scroll1.max_area = mail_list.count; scroll1.max_area = mail_list.count;
scroll1.cur_area = mail_list.visible; scroll1.cur_area = mail_list.visible;