Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:4185
plymouth.openSUSE_Leap_42.1_Update
0001-text-step-bar-use-correct-utf-8-multibyte-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-text-step-bar-use-correct-utf-8-multibyte-sequence-f.patch of Package plymouth.openSUSE_Leap_42.1_Update
From 40c2dd36c5da64919f69dd4f37de2ecf19f23058 Mon Sep 17 00:00:00 2001 From: Ray Strode <rstrode@redhat.com> Date: Mon, 28 Jul 2014 09:58:49 -0400 Subject: [PATCH] =?UTF-8?q?text-step-bar:=20use=20correct=20utf-8=20multib?= =?UTF-8?q?yte=20sequence=20for=20=E2=96=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason in commit 113526408c5706c9efc7f43c3f8258354e762677 I commited the sequence \x25\x96\xa0 in place of the block character that was there before. I don't know where I got \x25 from, but it's not right (and couldn't even be right since the high order bit isn't set which is a requirement for the first byte in multi-byte utf-8 sequences). This commit uses \xe2 instead which I got from doing: $ echo ■ | xxd 0000000: e296 a00a .... --- src/libply-splash-core/ply-text-step-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: plymouth-0.9.0/src/libply-splash-core/ply-text-step-bar.c =================================================================== --- plymouth-0.9.0.orig/src/libply-splash-core/ply-text-step-bar.c +++ plymouth-0.9.0/src/libply-splash-core/ply-text-step-bar.c @@ -96,7 +96,7 @@ ply_text_step_bar_draw (ply_text_step_ba } /* U+25A0 BLACK SQUARE */ - ply_text_display_write (step_bar->display, "%s", "\x25\x96\xa0"); + ply_text_display_write (step_bar->display, "%s", "\xe2\x96\xa0"); ply_text_display_write (step_bar->display, "%c", ' '); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor