]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix mismerge
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 2 Jul 2010 20:06:43 +0000 (22:06 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 2 Jul 2010 20:06:43 +0000 (22:06 +0200)
commands/help.c

index 964f8f5ac02fa97f22b5bce37c7e6e3f3f8e9b56..7ccfc4fac9fc9a65d5c888a2cba859c058479a03 100644 (file)
@@ -49,19 +49,20 @@ grub_cmd_help (grub_extcmd_t ext __attribute__ ((unused)), int argc,
                                      
            command_help = grub_xasprintf ("%s %s", cmd->name, summary_translated);
            if (!command_help)
-             return 1;
+             break;
 
            grub_utf8_to_ucs4_alloc (command_help, &unicode_command_help,
                                     &unicode_last_position);
+
            FOR_ACTIVE_TERM_OUTPUTS(term)
            {
              unsigned stringwidth;
              grub_uint32_t *unicode_last_screen_position;
-           
+
              unicode_last_screen_position = unicode_command_help;
-           
+
              stringwidth = 0;
-           
+
              while (unicode_last_screen_position < unicode_last_position && 
                     stringwidth < ((grub_term_width (term) / 2) - 2))
                {