Blame SOURCES/0406-grub-core-normal-term.c-print_ucs4_real-Fix-startwid.patch
|
|
f96e0b |
From d5e9a65c59adfe1fee4027a611ec8e9e74145f4c Mon Sep 17 00:00:00 2001
|
|
|
f96e0b |
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
Date: Fri, 3 May 2013 13:56:45 +0200
|
|
|
f96e0b |
Subject: [PATCH 406/482] * grub-core/normal/term.c (print_ucs4_real):
|
|
|
f96e0b |
Fix startwidth in dry run.
|
|
|
f96e0b |
|
|
|
f96e0b |
---
|
|
|
f96e0b |
ChangeLog | 4 ++++
|
|
|
f96e0b |
grub-core/normal/term.c | 4 ++--
|
|
|
f96e0b |
2 files changed, 6 insertions(+), 2 deletions(-)
|
|
|
f96e0b |
|
|
|
f96e0b |
diff --git a/ChangeLog b/ChangeLog
|
|
|
f96e0b |
index 3ff4a05..9e99eb5 100644
|
|
|
f96e0b |
--- a/ChangeLog
|
|
|
f96e0b |
+++ b/ChangeLog
|
|
|
f96e0b |
@@ -1,3 +1,7 @@
|
|
|
f96e0b |
+2013-05-03 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
+
|
|
|
f96e0b |
+ * grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.
|
|
|
f96e0b |
+
|
|
|
f96e0b |
2013-05-02 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
f96e0b |
|
|
|
f96e0b |
Several fixes to ieee1275 and big-endian video.
|
|
|
f96e0b |
diff --git a/grub-core/normal/term.c b/grub-core/normal/term.c
|
|
|
f96e0b |
index f9620f6..9764423 100644
|
|
|
f96e0b |
--- a/grub-core/normal/term.c
|
|
|
f96e0b |
+++ b/grub-core/normal/term.c
|
|
|
f96e0b |
@@ -920,8 +920,8 @@ print_ucs4_real (const grub_uint32_t * str,
|
|
|
f96e0b |
get_maxwidth (term,
|
|
|
f96e0b |
margin_left,
|
|
|
f96e0b |
margin_right),
|
|
|
f96e0b |
- get_startwidth (term,
|
|
|
f96e0b |
- margin_left),
|
|
|
f96e0b |
+ dry_run ? 0 : get_startwidth (term,
|
|
|
f96e0b |
+ margin_left),
|
|
|
f96e0b |
contchar, pos, !!contchar);
|
|
|
f96e0b |
if (visual_len < 0)
|
|
|
f96e0b |
{
|
|
|
f96e0b |
--
|
|
|
f96e0b |
1.8.2.1
|
|
|
f96e0b |
|