Code

Fix for bug #404488 by Yann Papouin
authordvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 29 Jul 2009 19:10:49 +0000 (19:10 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Wed, 29 Jul 2009 19:10:49 +0000 (19:10 +0000)
src/display/canvas-axonomgrid.cpp

index 71b22d2ad512d3beba51419e46fa0bb8443b43dd..a92e7cf5bb993f758afd88e609cb3b5b8b211c10 100644 (file)
@@ -311,7 +311,7 @@ CanvasAxonomGrid::readRepr()
     if ( (value = repr->attribute("spacingy")) ) {
         sp_nv_read_length(value, SP_UNIT_ABSOLUTE | SP_UNIT_DEVICE, &lengthy, &gridunit);
         lengthy = sp_units_get_pixels(lengthy, *(gridunit));
-        if (lengthy < 1.0) lengthy = 1.0;
+        if (lengthy < 0.0500) lengthy = 0.0500;
     }
 
     if ( (value = repr->attribute("gridanglex")) ) {