-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Just like the reported libucl bug 3 and 5, libchewing project also contains redundant bugs.
bugscpp/bugscpp/taxonomy/libchewing/patch/0001-buggy.patch
Lines 11 to 24 in be5cc48
| index 2473c3b..d2cf9ee 100644 | |
| --- a/src/chewingio.c | |
| +++ b/src/chewingio.c | |
| @@ -694,7 +694,8 @@ CHEWING_API void chewing_set_ChiEngMode(ChewingContext *ctx, int mode) | |
| if (mode == CHINESE_MODE || mode == SYMBOL_MODE) { | |
| // remove all data inside buffer as switching mode. | |
| - chewing_clean_bopomofo_buf(ctx); | |
| + BopomofoRemoveAll(&(ctx->data->bopomofoData)); | |
| + MakeOutputWithRtn(ctx->output, ctx->data, KEYSTROKE_ABSORB); | |
| ctx->data->bChiSym = mode; | |
| } | |
| } | |
| -- |
bugscpp/bugscpp/taxonomy/libchewing/patch/0002-buggy.patch
Lines 11 to 24 in be5cc48
| index 0830299..6f10129 100644 | |
| --- a/src/chewingio.c | |
| +++ b/src/chewingio.c | |
| @@ -694,7 +694,8 @@ CHEWING_API void chewing_set_ChiEngMode(ChewingContext *ctx, int mode) | |
| if (mode == CHINESE_MODE || mode == SYMBOL_MODE) { | |
| // remove all data inside buffer as switching mode. | |
| - chewing_clean_bopomofo_buf(ctx); | |
| + BopomofoRemoveAll(&(ctx->data->bopomofoData)); | |
| + MakeOutputWithRtn(ctx->output, ctx->data, KEYSTROKE_ABSORB); | |
| ctx->data->bChiSym = mode; | |
| } | |
| } | |
| -- |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working