Bug in Formatting.cs

Aug 12, 2009 at 2:37 PM

I just saw this code in Formatting.cs today...

        public FontFamily FontFamily { get { return FontFamily; } set { fontFamily = value; } }

Notice that the getter is referencing the property, not the field, so it will go into an infinite loop.

Aug 12, 2009 at 5:15 PM
Hi krugs525,

you are on a roll today. This is another great find, I have update the source to return fontFamily instead of FontFamily.

kind regards,