[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (87572b48e0d58b8f69d4aece6e22c4a5d89a16c5)
The branch, master has been updated
via 87572b48e0d58b8f69d4aece6e22c4a5d89a16c5 (commit)
from 34c89fa606b512ce5f209c2829b5e769c0ea121c (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/report.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 87572b48e0d58b8f69d4aece6e22c4a5d89a16c5
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix segfault in report.c text report output
:100644 100644 56e1fa9... d63bb90... M src/report.c
=========
Changes
=========
commit 87572b48e0d58b8f69d4aece6e22c4a5d89a16c5
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix segfault in report.c text report output
diff --git a/src/report.c b/src/report.c
index 56e1fa9..d63bb90 100644
--- a/src/report.c
+++ b/src/report.c
@@ -446,13 +446,13 @@ ReportDialog (int argc, char **argv, Coord x, Coord y)
GetLayerNumber (PCB->Data, (LayerTypePtr) ptr1));
pcb_sprintf (&report[0], "%m+TEXT ID# %ld; Flags:%s\n"
"Located at (X,Y) = %$mD.\n"
- "Characters are %$mD tall.\n"
+ "Characters are %$mS tall.\n"
"Value is \"%s\".\n"
"Direction is %d.\n"
"The bounding box is %$mD %$mD.\n"
"%s\n"
"%s", USER_UNITMASK, text->ID, flags_to_string (text->Flags, TEXT_TYPE),
- text->X, text->Y, (Coord) (0.45 * text->Scale * 100),
+ text->X, text->Y, (Coord) (0.45 * MIL_TO_COORD (text->Scale)),
text->TextString, text->Direction,
text->BoundingBox.X1, text->BoundingBox.Y1,
text->BoundingBox.X2, text->BoundingBox.Y2,
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs