diff options
author | foxfair <foxfair@FreeBSD.org> | 1999-08-19 09:19:30 +0000 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 1999-08-19 09:19:30 +0000 |
commit | ebb9bdd91406610e20fba3cc7e7b4925eddd1857 (patch) | |
tree | 3f794aa46cc27813abc9fb26a06175c5723ca10e /chinese/xcin | |
parent | cb406f6bf116764d4da1e55d0ca9a04241c60509 (diff) | |
download | FreeBSD-ports-ebb9bdd91406610e20fba3cc7e7b4925eddd1857.zip FreeBSD-ports-ebb9bdd91406610e20fba3cc7e7b4925eddd1857.tar.gz |
Correct ome alignment problem with patch-ab, this caused make failure.
Submitted by: ycheng@sinica.edu.tw, jtjang@gcn.net.tw
Diffstat (limited to 'chinese/xcin')
-rw-r--r-- | chinese/xcin/files/patch-ab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chinese/xcin/files/patch-ab b/chinese/xcin/files/patch-ab index b14cc06..d4c3ca5 100644 --- a/chinese/xcin/files/patch-ab +++ b/chinese/xcin/files/patch-ab @@ -8,10 +8,10 @@ last_win = cli_win; if ( ignore_cli_stat ) - ignore_cli_stat = 0; + ignore_cli_stat = 0; else if ( state->_CurInMethod ) -- memcpy( &inmdstate, state, sizeof( inmdstate ) ); +- memcpy( &inmdstate, state, sizeof( inmdstate ) ); + if(memcmp(&inmdstate, state, sizeof( inmdstate))) + memcpy( &inmdstate, state, sizeof( inmdstate ) ); + else |