Bug in tab calculation in Fl_Input_ (Thanks to Timothy Lee)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
d5b5659dbc
commit
e0103d2dd7
@ -134,7 +134,7 @@ double Fl_Input_::expandpos(
|
||||
if (c < ' ' || c == 127) {
|
||||
if (c == '\t' && input_type()==FL_MULTILINE_INPUT) {
|
||||
n += 8-(chr%8);
|
||||
chr += 8-(chr%8);
|
||||
chr += 7-(chr%8);
|
||||
} else n += 2;
|
||||
} else {
|
||||
n++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user