[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (f9ad6634a55f7f79106945e3307aafe0d39eae61)
The branch, master has been updated
via f9ad6634a55f7f79106945e3307aafe0d39eae61 (commit)
from f04424e76db53f9405e0b2e28edb880ce614b88d (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/pcb-printf.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit f9ad6634a55f7f79106945e3307aafe0d39eae61
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix %ma specifier
:100644 100644 7562a57... 4410691... M src/pcb-printf.c
=========
Changes
=========
commit f9ad6634a55f7f79106945e3307aafe0d39eae61
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix %ma specifier
diff --git a/src/pcb-printf.c b/src/pcb-printf.c
index 7562a57..4410691 100644
--- a/src/pcb-printf.c
+++ b/src/pcb-printf.c
@@ -359,11 +359,10 @@ static gchar *pcb_vprintf(const char *fmt, va_list args)
unit_str = CoordsToString(value, 1, spec->str, mask & ALLOW_ALL, suffix);
break;
case 'a':
- value[0] = va_arg(args, Angle);
g_string_append (spec, ".0f");
if (suffix == SUFFIX)
g_string_append (spec, " deg");
- unit_str = g_strdup_printf (spec->str, value[0]);
+ unit_str = g_strdup_printf (spec->str, (double) va_arg(args, Angle));
break;
case '+':
mask = va_arg(args, enum e_allow);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs