cmultibyte 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/cmultibyte.c +1 -1
- data/lib/cmultibyte/version.rb +1 -1
- metadata +1 -1
data/ext/cmultibyte.c
CHANGED
@@ -76,7 +76,7 @@ VALUE rb_tidy_byte(VALUE self, VALUE byte) {
|
|
76
76
|
}
|
77
77
|
|
78
78
|
static void cp1252_hash_to_array(VALUE cp1252_hash) {
|
79
|
-
cp1252 =
|
79
|
+
cp1252 = ALLOC_N(int, 256);
|
80
80
|
VALUE val;
|
81
81
|
for (int i = 0; i < 256; i++) {
|
82
82
|
val = rb_hash_aref(cp1252_hash, INT2FIX(i));
|
data/lib/cmultibyte/version.rb
CHANGED