From 00d0aad98e1d08ffd018c04e155a0d9334a4bf37 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 25 Mar 2020 00:23:58 +0000 Subject: [PATCH] fix liza git-svn-id: svn://kolibrios.org@7751 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/liza/mail_box.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/cmm/liza/mail_box.c b/programs/cmm/liza/mail_box.c index 13ecc73546..96ff1c9ecf 100644 --- a/programs/cmm/liza/mail_box.c +++ b/programs/cmm/liza/mail_box.c @@ -358,14 +358,14 @@ void InitTWB() { WB1.list.first = WB1.list.count = 0; } + void DrawLetter() { bufsize = strlen(mdata); - WB1.LoadInternalPage(bufsize, mdata); - if (bufsize) WB1.Prepare(); + bufpointer = mdata; + if (bufsize) && (bufpointer) WB1.Prepare(); DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, 0xFFFfff); } - void DrawScroller1() { scroll1.max_area = mail_list.count; scroll1.cur_area = mail_list.visible;