Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unbust the CStr REPR.
  • Loading branch information
arnsholt committed Sep 9, 2013
1 parent 4cf1013 commit ef08484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/parrot/6model/reprs/CStr.c
Expand Up @@ -67,7 +67,7 @@ static void set_str(PARROT_INTERP, STable *st, void *data, STRING *value) {
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
"Unknown encoding passed to CStr representation");

body->cstr = new_from_cstring(interp, value, encoding);
body->cstr = Parrot_str_to_encoded_cstring(interp, value, encoding);
}

static STRING *get_str(PARROT_INTERP, STable *st, void *data) {
Expand Down

0 comments on commit ef08484

Please sign in to comment.