nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Update libs to use correctly ascii and code_point
[nit.git]
/
lib
/
core
/
text
/
ropes.nit
diff --git
a/lib/core/text/ropes.nit
b/lib/core/text/ropes.nit
index
3e7b761
..
c164529
100644
(file)
--- a/
lib/core/text/ropes.nit
+++ b/
lib/core/text/ropes.nit
@@
-468,7
+468,7
@@
class RopeBuffer
rp = 0
end
# TODO: Fix when supporting UTF-8
- ns[rp] = c.ascii.to_b
+ ns[rp] = c.ascii
rp += 1
_bytelen += 1
rpos = rp