From 64cbc4ae4beb60bc87300ea48d3ab05735cb7e8e Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 24 Sep 2001 05:05:49 +0000 Subject: add hanzim A Chinese character learning-aid program --- chinese/hanzim/files/patch-hanzim.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 chinese/hanzim/files/patch-hanzim.c (limited to 'chinese/hanzim/files/patch-hanzim.c') diff --git a/chinese/hanzim/files/patch-hanzim.c b/chinese/hanzim/files/patch-hanzim.c new file mode 100644 index 000000000000..33d60180bf1e --- /dev/null +++ b/chinese/hanzim/files/patch-hanzim.c @@ -0,0 +1,18 @@ +--- hanzim.c.orig Sat Apr 14 21:23:42 2001 ++++ hanzim.c Sat Apr 14 21:29:54 2001 +@@ -440,10 +440,14 @@ + struct _timeb tp; + _ftime(&tp); + #else ++/* + struct timeb tp; + ftime(&tp); ++*/ ++ time_t t; ++ time(&t); + #endif +- srand(tp.millitm); ++ srand(t); + + printf("\n\nWelcome to Hanzi Master, where YOU will master the hanzi.\n\n"); + printf("Please use \"Ctrl-h\" or \"Alt-h\" for help.\n"); -- cgit v1.2.3