Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5e77288 in mainline


Ignore:
Timestamp:
2012-08-15T21:18:18Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
c5a6076
Parents:
b546231
git-author:
Martin Sucha <sucha14@…> (2012-08-15 21:18:18)
git-committer:
Jiri Svoboda <jiri@…> (2012-08-15 21:18:18)
Message:

Fix next line overwrite when line contains tab character in edit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/edit/edit.c

    rb546231 r5e77288  
    842842                /* Fill until the end of display area. */
    843843
    844                 if (str_length(row_buf) < (unsigned) scr_columns)
    845                         fill = scr_columns - str_length(row_buf);
     844                if ((unsigned)s_column < scr_columns)
     845                        fill = scr_columns - s_column;
    846846                else
    847847                        fill = 0;
Note: See TracChangeset for help on using the changeset viewer.