In prepare_display() set firstwb on tab as well as space

This commit is contained in:
Kevin Easton 2018-05-17 23:20:15 +10:00
parent f859f9e2f8
commit 255c25158c
1 changed files with 4 additions and 1 deletions

View File

@ -480,10 +480,13 @@ char **BX_prepare_display(const char *orig_str,
else
{
if (indent == 0)
{
indent = -1;
firstwb = pos;
}
word_break = pos;
/* Only go as far as the edge of the screen */
/* Only go as far as the edge of the screen */
len = 8 - (col % 8);
for (i = 0; i < len; i++)
{