diff options
author | Camil Staps | 2015-08-20 10:49:07 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-20 10:49:07 +0200 |
commit | 4d9c04126985dd40b1d4c4ee0c9690154cd35d90 (patch) | |
tree | 63656f858a2b569c4355409dd8ccf53d561c1220 /Linux_C_12 | |
parent | Tryout WinSetFont (diff) | |
parent | To mimic the Windows library, WinGetTime now returns the local time rather th... (diff) |
Merge branch 'master' into fontsfonts
Diffstat (limited to 'Linux_C_12')
-rw-r--r-- | Linux_C_12/cCCallSystem_121.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Linux_C_12/cCCallSystem_121.c b/Linux_C_12/cCCallSystem_121.c index fb890b3..0489882 100644 --- a/Linux_C_12/cCCallSystem_121.c +++ b/Linux_C_12/cCCallSystem_121.c @@ -71,7 +71,7 @@ void WinGetTime (OS ios, int *hr, int *min, int *second, OS *oos) printf("WinGetTime\n");
gettimeofday(&t,NULL);
- gmtime_r(&t.tv_sec,&theTime);
+ localtime_r(&t.tv_sec,&theTime);
*hr = theTime.tm_hour;
*min = theTime.tm_min;
|