Browse Source

patched issue

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6345 8c9fc860-2736-0410-a75d-ab315db34111
felixf 10 năm trước cách đây
mục cha
commit
0442983136
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/WMTextView.Mod

+ 1 - 1
source/WMTextView.Mod

@@ -2642,7 +2642,7 @@ TYPE
 		VAR la, lb, i, top, t, b : LONGINT; cliprect : WMRectangles.Rectangle; cstate : WMGraphics.CanvasState;
 		BEGIN
 			ASSERT(layout # NIL);
-			DrawBackground^( );
+			DrawBackground^(canvas );
 			canvas.SaveState(cstate);
 			canvas.GetClipRect(cliprect);
 			IF WMRectangles.RectEmpty(cliprect) THEN RETURN END;