cmultibyte 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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