Ver código fonte

2006-02-29 Peter Dennis Bartok <[email protected]>

	* TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
	  the appropriate size on each system


svn path=/trunk/mcs/; revision=57469
Peter Dennis Bartok 20 anos atrás
pai
commit
ff4841f252

+ 5 - 0
mcs/class/System.Drawing/Test/System.Drawing/ChangeLog

@@ -1,3 +1,8 @@
+2006-02-29  Peter Dennis Bartok  <[email protected]>
+
+	* TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
+	  the appropriate size on each system
+
 2006-01-27  Sebastien Pouliot  <[email protected]>
 
 	* RegionNonRectTest.cs: Updated comments on a test that fails on both

+ 1 - 1
mcs/class/System.Drawing/Test/System.Drawing/TestFont.cs

@@ -64,7 +64,7 @@ namespace MonoTests.System.Drawing{
 			Assert.AreEqual (f.Unit, f2.Unit, "Unit");
 		}
 
-		[ StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode) ]
+		[ StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto) ]
 		class LOGFONT {
 			public int lfHeight = 0;
 			public int lfWidth = 0;