[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (145eb356bec5eb0ae57e66655af769bd0872b311)



The branch, master has been updated
  discards  f1a3326da21adf354fd06c1cc72c8c58e863192e (commit)
       via  145eb356bec5eb0ae57e66655af769bd0872b311 (commit)
      from  f1a3326da21adf354fd06c1cc72c8c58e863192e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/png/png.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 145eb356bec5eb0ae57e66655af769bd0872b311
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/png: Fix incorrect um unit conversion in bloat parser.
    
    (Split from a larger patch by Peter Clifton <pcjc2@xxxxxxxxx>)

:100644 100644 6c0f76b... ab64e5a... M	src/hid/png/png.c

=========
 Changes
=========

commit 145eb356bec5eb0ae57e66655af769bd0872b311
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/png: Fix incorrect um unit conversion in bloat parser.
    
    (Split from a larger patch by Peter Clifton <pcjc2@xxxxxxxxx>)

diff --git a/src/hid/png/png.c b/src/hid/png/png.c
index 6c0f76b..ab64e5a 100644
--- a/src/hid/png/png.c
+++ b/src/hid/png/png.c
@@ -322,7 +322,7 @@ parse_bloat (char *str)
   else if (strcasecmp (suf, "mm") == 0)
     bloat = val * MM_TO_COOR;
   else if (strcasecmp (suf, "um") == 0)
-    bloat = val * MM_TO_COOR * 1000.0;
+    bloat = val * MM_TO_COOR / 1000.0;
   else if (strcasecmp (suf, "pix") == 0
 	   || strcasecmp (suf, "px") == 0)
     bloat = val * scale;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs