Преглед изворни кода

fix uninitialized var

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6386 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore пре 9 година
родитељ
комит
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;