2
0
Эх сурвалжийг харах

fix uninitialized var

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6386 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore 9 жил өмнө
parent
commit
abe146aab8
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      source/WMTextView.Mod

+ 1 - 1
source/WMTextView.Mod

@@ -2120,7 +2120,7 @@ TYPE
 				END;
 			END;
 
-			i := 0;  ascent := style.font.GetAscent(); descent := style.font.GetDescent();
+			i := 0;  leading := 0; ascent := style.font.GetAscent(); descent := style.font.GetDescent();
 			align := AlignLeft; l.tabStops := NIL; COPY("", tabstring);
 			firstIndent := 0; leftIndent := 0; rightIndent := 0; spaceBefore := 0; spaceAfter := 0;