aboutsummaryrefslogtreecommitdiff
path: root/chinese/gcin-devel/files/patch-tsa2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/gcin-devel/files/patch-tsa2d.c')
-rw-r--r--chinese/gcin-devel/files/patch-tsa2d.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/chinese/gcin-devel/files/patch-tsa2d.c b/chinese/gcin-devel/files/patch-tsa2d.c
new file mode 100644
index 000000000000..5da9c1225c09
--- /dev/null
+++ b/chinese/gcin-devel/files/patch-tsa2d.c
@@ -0,0 +1,18 @@
+--- tsa2d.c.orig Thu Jul 29 03:14:34 2004
++++ tsa2d.c Thu Jul 29 03:14:46 2004
+@@ -106,8 +106,6 @@
+ int hashidx[256];
+ u_char clen, llen;
+
+- gtk_init(&argc, &argv);
+-
+ if (argc > 1) {
+ if ((fp=fopen(argv[1], "r"))==NULL) {
+ printf("Cannot open %s\n", argv[1]);
+@@ -300,6 +298,5 @@
+
+ fclose(fw);
+
+- send_gcin_message(GDK_DISPLAY(), "reload");
+ exit(0);
+ }