From 3be4fd7a4bf3263783d2c1c8a3a487cc05b120fd Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sat, 30 Jun 2007 12:42:59 +0000 Subject: [PATCH] bugfix of revision 555 git-svn-id: svn://kolibrios.org@559 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/video/vesa20.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/video/vesa20.inc b/kernel/trunk/video/vesa20.inc index ffa896bd81..49d3e59b7e 100644 --- a/kernel/trunk/video/vesa20.inc +++ b/kernel/trunk/video/vesa20.inc @@ -932,9 +932,11 @@ bgr_resmooth0: push edi mov edi, bgr_cur_line call smooth_line - cmp dword [BgrDataHeight], 1 - jz bgr.no2nd bgr_resmooth1: + mov eax, [esp+16+4] + inc eax + cmp eax, [BgrDataHeight] + jae bgr.no2nd mov ecx, [esp+8+4] mov edx, [esp+4+4] mov esi, [esp+4]