Browse files

2005-12-21 Peter Dennis Bartok <pbartok@novell.com>

	* XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
	  a Unicode function with a structure that was defined in Ansi way.
	  This fixes #76942.


svn path=/trunk/mcs/; revision=54720
  • Loading branch information...
1 parent fc52c91 commit 30e9659a14e6a7628be631a89091b8613a63f055 Peter Dennis Bartok committed Dec 22, 2005
View
6 mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
+
+ * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
+ a Unicode function with a structure that was defined in Ansi way.
+ This fixes #76942.
+
2005-12-21 Jackson Harper <jackson@ximian.com>
* StatusBar.cs: Statusbar handles its fore/back colours on it's
View
8 mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
@@ -334,10 +334,10 @@ internal struct TEXTMETRIC {
internal int tmOverhang;
internal int tmDigitizedAspectX;
internal int tmDigitizedAspectY;
- internal byte tmFirstChar;
- internal byte tmLastChar;
- internal byte tmDefaultChar;
- internal byte tmBreakChar;
+ internal short tmFirstChar;
+ internal short tmLastChar;
+ internal short tmDefaultChar;
+ internal short tmBreakChar;
internal byte tmItalic;
internal byte tmUnderlined;
internal byte tmStruckOut;

0 comments on commit 30e9659

Please sign in to comment.