You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libchewing/libchewing-0.3.0-11.bz19541...

20 lines
785 B

diff -up libchewing-0.3.0/include/global.h.9-bz195416 libchewing-0.3.0/include/global.h
diff -up libchewing-0.3.0/src/chewingio.c.9-bz195416 libchewing-0.3.0/src/chewingio.c
--- libchewing-0.3.0/src/chewingio.c.9-bz195416 2008-04-24 14:56:45.000000000 +1000
+++ libchewing-0.3.0/src/chewingio.c 2008-04-24 16:31:32.000000000 +1000
@@ -255,13 +255,7 @@ CHEWING_API int chewing_Configure( Chewi
CHEWING_API void chewing_set_ChiEngMode( ChewingContext *ctx, int mode )
{
- ChewingData *pgdata = ctx->data;
-
- if ( pgdata->bFirstKey == 0 ) {
- pgdata->bChiSym = mode;
- pgdata->bCaseChange = ( mode == CHINESE_MODE ? 0 : 1 );
- pgdata->bFirstKey = 1;
- }
+ ctx->data->bChiSym = ( mode == CHINESE_MODE ? 1 : 0 );
}
CHEWING_API int chewing_get_ChiEngMode( ChewingContext *ctx )