--- DesktopIconConfig.cpp	2005-05-12 01:48:10.000000000 +0200
+++ ../../idesk-0.7.3-kan/src/DesktopIconConfig.cpp	2005-07-07 10:35:22.000000000 +0200
@@ -196,7 +196,9 @@
     if (table.Query("FontName") != "")
         fontName = table.Query("FontName"); 
     if (table.Query("FontSize") != "")
-        fontSize = atoi(table.Query("FontSize").c_str()); 
+        fontSize = atoi(table.Query("FontSize").c_str());
+	if (fontSize>256)
+	    fontSize = 16;
     if (table.Query("FontColor") != "")
         fontColor = table.Query("FontColor"); 
     
@@ -204,7 +206,9 @@
     if (table.Query("ToolTip.FontName") != "")
 	    fontNameTip = table.Query("ToolTip.FontName"); 
     if (table.Query("ToolTip.FontSize") != "")
-	    fontSizeTip = atoi(table.Query("ToolTip.FontSize").c_str()); 
+	    fontSizeTip = atoi(table.Query("ToolTip.FontSize").c_str());
+	    if (fontSizeTip>256)
+              fontSizeTip = 16;
     if (table.Query("ToolTip.ForeColor") != "")
 	    foreColorTip = table.Query("ToolTip.ForeColor");
     if (table.Query("ToolTip.BackColor") != "")
