summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Buffer.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-27 20:13:10 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-27 20:13:10 +0000
commitc6e46fed45d803243805975ea3f2c5f73e84654f (patch)
tree231cdd994a96979758df724db1520be69c5d337a /src/Fl_Text_Buffer.cxx
parent39169af7dd1e6e3a518788f130304600dac6f221 (diff)
Preliminary implementation of Tab characters insisde Fl_Text-*. We still need to test wrapping, etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
-rw-r--r--src/Fl_Text_Buffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx
index fc22b57d2..c6066cc91 100644
--- a/src/Fl_Text_Buffer.cxx
+++ b/src/Fl_Text_Buffer.cxx
@@ -197,7 +197,7 @@ void Fl_Text_Buffer::text(const char *t)
*/
char *Fl_Text_Buffer::text_range(int start, int end) const {
IS_UTF8_ALIGNED2(this, (start))
- IS_UTF8_ALIGNED2(this, (start))
+ IS_UTF8_ALIGNED2(this, (end))
char *s = NULL;