summaryrefslogtreecommitdiff
path: root/chinese/xcin25/files/patch-ab
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>1999-08-19 09:19:30 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>1999-08-19 09:19:30 +0000
commitc6cace87c28b68e3981186743ad173a70d9b6637 (patch)
tree7babe79ae9cd48c8f00481f3990fe1c834413bc7 /chinese/xcin25/files/patch-ab
parentMove ports/misc/toolbox to ports/x11-wm/toolbox with a repo (diff)
Correct ome alignment problem with patch-ab, this caused make failure.
Submitted by: ycheng@sinica.edu.tw, jtjang@gcn.net.tw
Notes
Notes: svn path=/head/; revision=20809
Diffstat (limited to '')
-rw-r--r--chinese/xcin25/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/chinese/xcin25/files/patch-ab b/chinese/xcin25/files/patch-ab
index b14cc06cd7cb..d4c3ca5a1e48 100644
--- a/chinese/xcin25/files/patch-ab
+++ b/chinese/xcin25/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