bug fix for ieee1275 console
PATCH 1/1 bug fix for ieee1275 console
Hi,
term/ieee1275/ofconsole.c +4 -1
@@ -84,7 +84,10 @@ grub_ofconsole_putchar (grub_uint32_t c) { grub_curr_x++;if (grub_curr_x > grub_ofconsole_width) -grub_putcode ('\n' ); + { +grub_putcode ('\n' ); + grub_curr_x++; + } }grub_ieee1275_write (stdout_ihandle, &chr,1 ,0 ); }
The reason for this patch is that after grub_putcode('\n'), grub_curr_x will be reset to 0, we need to increment it again for the current character.
Signature · 1 line
Bean