@@ -296,7 +296,7 @@ mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter)
296
296
filter -> status += 3 ;
297
297
} else {
298
298
filter -> status &= ~0xf ;
299
- CK ((* filter -> output_function )(0x1b , filter -> data ));
299
+ CK ((* filter -> output_function )(0x1b | MBFL_WCSGROUP_THROUGH , filter -> data ));
300
300
goto retry ;
301
301
}
302
302
break ;
@@ -314,7 +314,7 @@ mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter)
314
314
filter -> status ++ ;
315
315
} else {
316
316
filter -> status &= ~0xf ;
317
- CK ((* filter -> output_function )(0x1b , filter -> data ));
317
+ CK ((* filter -> output_function )(0x1b | MBFL_WCSGROUP_THROUGH , filter -> data ));
318
318
CK ((* filter -> output_function )(0x24 , filter -> data ));
319
319
goto retry ;
320
320
}
@@ -333,7 +333,7 @@ mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter)
333
333
filter -> status = 0x90 ;
334
334
} else {
335
335
filter -> status &= ~0xf ;
336
- CK ((* filter -> output_function )(0x1b , filter -> data ));
336
+ CK ((* filter -> output_function )(0x1b | MBFL_WCSGROUP_THROUGH , filter -> data ));
337
337
CK ((* filter -> output_function )(0x24 , filter -> data ));
338
338
CK ((* filter -> output_function )(0x28 , filter -> data ));
339
339
goto retry ;
@@ -355,7 +355,7 @@ mbfl_filt_conv_jis_ms_wchar(int c, mbfl_convert_filter *filter)
355
355
filter -> status = 0x20 ;
356
356
} else {
357
357
filter -> status &= ~0xf ;
358
- CK ((* filter -> output_function )(0x1b , filter -> data ));
358
+ CK ((* filter -> output_function )(0x1b | MBFL_WCSGROUP_THROUGH , filter -> data ));
359
359
CK ((* filter -> output_function )(0x28 , filter -> data ));
360
360
goto retry ;
361
361
}
0 commit comments