Skip to content

Commit

Permalink
fix get_cmdline issue (issue #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenall committed Apr 7, 2015
1 parent 27f76dc commit f87453c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stage2/char_io.c
Expand Up @@ -933,8 +933,8 @@ static void cl_refresh (int full, int len)
if (i == lpos)
lpos_fontx = fontx;

if (lpos_fontx == 0)
printf ("\nReport bug! lpos=%d, start=%d, len=%d, llen=%d, plen=%d, section=%d\n", lpos, start, len, llen, plen, section);
if (len && lpos_fontx == 0)
printf_warning ("\nReport bug! lpos=%d, start=%d, len=%d, llen=%d, plen=%d, section=%d\n", lpos, start, len, llen, plen, section);

/* Fill up the rest of the line with spaces. */
for (; i < start + len; i++)
Expand Down

0 comments on commit f87453c

Please sign in to comment.