diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2009-09-19 20:52:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2009-09-19 20:52:36 +0000 |
| commit | e0103d2dd7069a95b4d387f5eaf1114aaa955f1f (patch) | |
| tree | f41fcfe3ccde20fd28e111b4892052dee5b96969 /src/Fl_Input_.cxx | |
| parent | d5b5659dbceedb5de05591f501a09855d5474486 (diff) | |
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
Diffstat (limited to 'src/Fl_Input_.cxx')
| -rw-r--r-- | src/Fl_Input_.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index 98440e13f..cd4de2b8c 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -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++; |
