Author: matt
Date: 2009-09-19 13:52:36 -0700 (Sat, 19 Sep 2009)
New Revision: 6886
Log:
Bug in tab calculation in Fl_Input_ (Thanks to Timothy Lee)

Modified:
   branches/branch-1.3/src/Fl_Input_.cxx

Modified: branches/branch-1.3/src/Fl_Input_.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Input_.cxx       2009-09-19 20:27:39 UTC (rev 
6885)
+++ branches/branch-1.3/src/Fl_Input_.cxx       2009-09-19 20:52:36 UTC (rev 
6886)
@@ -134,7 +134,7 @@
     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++;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to