summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2014-05-20 13:47:39 -0400
committerRay Strode <rstrode@redhat.com>2014-05-20 13:48:39 -0400
commit113526408c5706c9efc7f43c3f8258354e762677 (patch)
treed265097ceba664df5a988729f6791c8762291be2
parent4e312bd5a09f52e02d4961d5bf15b01027533a75 (diff)
text-step-bar: silence warning about multibyte characters
-rw-r--r--src/libply-splash-core/ply-text-step-bar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libply-splash-core/ply-text-step-bar.c b/src/libply-splash-core/ply-text-step-bar.c
index 552a39f1..7c77dd5f 100644
--- a/src/libply-splash-core/ply-text-step-bar.c
+++ b/src/libply-splash-core/ply-text-step-bar.c
@@ -95,7 +95,8 @@ ply_text_step_bar_draw (ply_text_step_bar_t *step_bar)
PLY_TERMINAL_COLOR_BROWN);
}
- ply_text_display_write (step_bar->display, "%c", '■');
+ /* U+25A0 BLACK SQUARE */
+ ply_text_display_write (step_bar->display, "%s", "\x25\x96\xa0");
ply_text_display_write (step_bar->display, "%c", ' ');
}