From 3da6c329095cb7c6a75a0d218c861a08d8a886ba Mon Sep 17 00:00:00 2001 From: dvlierop2 Date: Wed, 29 Jul 2009 19:10:49 +0000 Subject: [PATCH] Fix for bug #404488 by Yann Papouin --- src/display/canvas-axonomgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/canvas-axonomgrid.cpp b/src/display/canvas-axonomgrid.cpp index 71b22d2ad..a92e7cf5b 100644 --- a/src/display/canvas-axonomgrid.cpp +++ b/src/display/canvas-axonomgrid.cpp @@ -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")) ) { -- 2.30.2