Blame SOURCES/0134-Improve-spkmomdem-reliability-by-adding-a-separator-.patch

f96e0b
From a16f3422534819db2c9b87648072cf7b6d8f3c10 Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Mon, 21 Jan 2013 20:03:15 +0100
f96e0b
Subject: [PATCH 134/482] 	Improve spkmomdem reliability by adding a
f96e0b
 separator between bytes.
f96e0b
f96e0b
---
f96e0b
 grub-core/normal/term.c | 3 ++-
f96e0b
 1 file changed, 2 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/grub-core/normal/term.c b/grub-core/normal/term.c
f96e0b
index 43622be..dc03268 100644
f96e0b
--- a/grub-core/normal/term.c
f96e0b
+++ b/grub-core/normal/term.c
f96e0b
@@ -672,7 +672,8 @@ print_ucs4_terminal (const grub_uint32_t * str,
f96e0b
 
f96e0b
 	      if (!wasn && contchar)
f96e0b
 		putcode_real (contchar, term, fixed_tab);
f96e0b
-	      fill_margin (term, contchar ? margin_right : 1);
f96e0b
+	      if (contchar)
f96e0b
+		fill_margin (term, margin_right);
f96e0b
 
f96e0b
 	      grub_putcode ('\n', term);
f96e0b
 	      if (state != &local_state && ++state->num_lines
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b