summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/polynom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/polynom.c b/lib/polynom.c
index 859ae48..8478531 100644
--- a/lib/polynom.c
+++ b/lib/polynom.c
@@ -290,10 +290,10 @@ char *ply_affichage(polynome poly)
sprintf(temp, "%s%s ", rat, mute);
break;
case 2:
- sprintf(temp, "%s%s² ", rat, mute);
+ sprintf(temp, "%s%s%c ", rat, mute, 178);
break;
case 3:
- sprintf(temp, "%s%s³ ", rat, mute);
+ sprintf(temp, "%s%s%c ", rat, mute, 179);
break;
default:
sprintf(temp, "%s%s^%u ", rat, mute, poly->degre);