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