diff options
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"); |