Skip to content

Commit 579c31e

Browse files
fix: convert SJIS string literals to ordinary Java string literals
1 parent 88c2b6e commit 579c31e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cobj/codegen.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@ static void joutput_string_write(const unsigned char *s, int size,
505505
enum cb_string_category category) {
506506
int i;
507507

508-
if (category == CB_STRING_CATEGORY_ALL_ASCII) {
508+
if (category == CB_STRING_CATEGORY_ALL_ASCII ||
509+
category == CB_STRING_CATEGORY_ALL_SJIS) {
509510
if (param_wrap_string_flag) {
510511
joutput("new CobolDataStorage(");
511512
} else {

0 commit comments

Comments
 (0)