parent
ef336a0b15
commit
10ec36a050
@ -0,0 +1,19 @@
|
|||||||
|
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 )
|
Loading…
Reference in new issue