nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff38ec
)
text/ropes: Fix broken byte iterator in Buffer
author
Lucas Bajolet
<r4pass@hotmail.com>
Mon, 2 Nov 2015 16:06:57 +0000
(11:06 -0500)
committer
Lucas Bajolet
<r4pass@hotmail.com>
Fri, 6 Nov 2015 21:33:48 +0000
(16:33 -0500)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib/core/text/ropes.nit
patch
|
blob
|
history
diff --git
a/lib/core/text/ropes.nit
b/lib/core/text/ropes.nit
index
bcfa7e5
..
cd7064f
100644
(file)
--- a/
lib/core/text/ropes.nit
+++ b/
lib/core/text/ropes.nit
@@
-1212,7
+1212,7
@@
class RopeBufferByteReverseIterator
redef fun next do
index -= 1
- if pns > 0 then
+ if pns >= 0 then
pns -= 1
else
sit.next