[Mono-list] FontUnit: Checking negative values

Gaurav Vaish gvaish@iitk.ac.in
Fri, 21 Dec 2001 22:03:58 +0530


Hello,
    Any clues how to do the "TODO"?
    FontUnit is a struct.

Cheers,
Gaurav Vaish
----------------------------

Index: FontInfo.cs
===================================================================
RCS file: /cvs/public/mcs/class/System.Web/System.Web.UI.WebControls/FontInfo.cs,v
retrieving revision 1.4
diff -u -r1.4 FontInfo.cs
--- FontInfo.cs 2001/12/19 17:34:12     1.4
+++ FontInfo.cs 2001/12/19 17:35:04
@@ -103,6 +103,7 @@
                        }
                }

+               // TODO: How do I check if the value is negative. FontUnit is struct not enum
                public FontUnit Size
                {
                        get