]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 3 May 2013 11:56:45 +0000 (13:56 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 3 May 2013 11:56:45 +0000 (13:56 +0200)
ChangeLog
grub-core/normal/term.c

index 3ff4a050a180e1a1c70e3f334dc45990a122cbfa..9e99eb5406a9110c8171b1b50dcbd3f6f2446905 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-03  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.
+
 2013-05-02  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Several fixes to ieee1275 and big-endian video.
index f9620f6e5d335142de8d73670d78830a109cef4d..9764423826f6031b874bbf7202152fc6d656cba2 100644 (file)
@@ -920,8 +920,8 @@ print_ucs4_real (const grub_uint32_t * str,
                                                get_maxwidth (term, 
                                                              margin_left,
                                                              margin_right),
-                                               get_startwidth (term, 
-                                                               margin_left),
+                                               dry_run ? 0 : get_startwidth (term, 
+                                                                             margin_left),
                                                contchar, pos, !!contchar);
       if (visual_len < 0)
        {