From c6cace87c28b68e3981186743ad173a70d9b6637 Mon Sep 17 00:00:00 2001 From: Foxfair Hu Date: Thu, 19 Aug 1999 09:19:30 +0000 Subject: Correct ome alignment problem with patch-ab, this caused make failure. Submitted by: ycheng@sinica.edu.tw, jtjang@gcn.net.tw --- chinese/xcin25/files/patch-ab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chinese/xcin25/files/patch-ab') 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 -- cgit v1.2.3