Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authorDonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2006-11-05 15:22:50 (GMT)
committer DonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2006-11-05 15:22:50 (GMT)
commitfb048aac002c09de05a65cd9b5ec079c0ab815d9 (patch)
tree9806d18f12a0fd47eb91503403588290ddc25442 /src/TextThought.py
parent7df81aa8c1f7f5f0482b311b5f29923f9047f1cb (diff)
* src/TextThought.py:
Make backspace work again at end of text git-svn-id: http://labyrinth.googlecode.com/svn/trunk@112 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index 1df727f..e42f4ed 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -363,7 +363,7 @@ class TextThought (BaseThought.BaseThought):
bleft = self.bytes[:self.b_f_i(self.index)-1]
bright = self.bytes[self.b_f_i(self.index):]
local_text = self.text[self.index-int(self.bytes[self.bindex-1]):self.index]
- local_bytes = self.bytes[self.b_f_i(self.index-1)]
+ local_bytes = self.bytes[self.b_f_i(self.index)-1]
self.index-=int(self.bytes[self.bindex-1])
self.text = left+right
self.bytes = bleft+bright