summaryrefslogtreecommitdiff
path: root/lib/polynom.c
diff options
context:
space:
mode:
authorbiouman <biouman>2001-04-28 22:08:37 +0000
committerbiouman <biouman>2001-04-28 22:08:37 +0000
commit447388dbac66c6518a0f4e4cc3e165b680f532e9 (patch)
tree96dbddc4a74f43189706861a29416ee68481b47c /lib/polynom.c
parent3b37a00a4be251f87e543d269489cb7a989425d5 (diff)
*** empty log message ***
Diffstat (limited to 'lib/polynom.c')
-rw-r--r--lib/polynom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/polynom.c b/lib/polynom.c
index f1c19a2..8e15297 100644
--- a/lib/polynom.c
+++ b/lib/polynom.c
@@ -267,7 +267,7 @@ char *ply_affichage(polynome poly)
while (poly) {
if (poly->degre != 0) {
- sprintf(temp, "%+f*%c^%u", rat_to_double(poly->coef), mute, poly->degre);
+ sprintf(temp, "%+f*%s^%u", rat_to_double(poly->coef), mute, poly->degre);
} else {
sprintf(temp, "%+f", rat_to_double(poly->coef));
}