diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-09-24 05:05:49 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-09-24 05:05:49 +0000 |
commit | 64cbc4ae4beb60bc87300ea48d3ab05735cb7e8e (patch) | |
tree | 680962756594a892c4de6bc43fa3022c04a8e59e /chinese/hanzim/files/patch-hanzim.c | |
parent | Erase extra parts of install.cf (diff) |
add hanzim
A Chinese character learning-aid program
Diffstat (limited to 'chinese/hanzim/files/patch-hanzim.c')
-rw-r--r-- | chinese/hanzim/files/patch-hanzim.c | 18 |
1 files changed, 18 insertions, 0 deletions
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"); |