nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename `NativeString` to `CString`
[nit.git]
/
lib
/
core
/
codecs
/
iso8859_1.nit
diff --git
a/lib/core/codecs/iso8859_1.nit
b/lib/core/codecs/iso8859_1.nit
index
21ea8a8
..
005c569
100644
(file)
--- a/
lib/core/codecs/iso8859_1.nit
+++ b/
lib/core/codecs/iso8859_1.nit
@@
-28,7
+28,7
@@
private class ISO88591Codec
redef fun max_lookahead do return 1
redef fun encode_char(c) do
- var ns = new NativeString(c.u8char_len)
+ var ns = new CString(c.u8char_len)
add_char_to(c, ns)
return ns
end