summaryrefslogtreecommitdiff
path: root/chinese/xcin/files/patch-ab
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>1999-09-10 12:05:59 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>1999-09-10 12:05:59 +0000
commitadef9566748ed5e06ccc78fadc79300f84d68b71 (patch)
tree1684af6f2213b3fb3bcaa7a2e1531d3b0d034b38 /chinese/xcin/files/patch-ab
parentRemove gd-old port. (diff)
Minor update, make xcin-2.3 to install again.
Obtained from : bento.
Notes
Notes: svn path=/head/; revision=21565
Diffstat (limited to 'chinese/xcin/files/patch-ab')
-rw-r--r--chinese/xcin/files/patch-ab29
1 files changed, 0 insertions, 29 deletions
diff --git a/chinese/xcin/files/patch-ab b/chinese/xcin/files/patch-ab
deleted file mode 100644
index c134175205f8..000000000000
--- a/chinese/xcin/files/patch-ab
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/xi.c.org Thu Sep 9 17:14:05 1999
-+++ src/xi.c Thu Sep 9 17:15:53 1999
-@@ -1056,19 +1056,25 @@
-
- void switch_active_client( InmdState *state, Window cli_win )
- {
-+ int refresh = 1;
- last_win = cli_win;
-
- if ( ignore_cli_stat )
- ignore_cli_stat = 0;
- else
- if ( state->_CurInMethod )
-- memcpy( &inmdstate, state, sizeof( inmdstate ) );
-+ if(memcpy( &inmdstate, state, sizeof( inmdstate ) ))
-+ memcpy( &inmdstate, state, sizeof( inmdstate ) );
-+ else
-+ refresh = 0;
-
- if ( hide_xcin && ( EngChi || HalfFull ) )
- Show_Xcin();
- else if ( hide_xcin && !EngChi && !HalfFull )
- XUnmapWindow( display, main_win );
-
-+ if(!refresh)
-+ return;
- gotoxy( 0, MROW - 1 );
-
- ClrShowArea( 0 );