Jörg Höhle : winmm: Time formats hms/ tmsf use leading zeroes as in 00:00:00.

Alexandre Julliard julliard at winehq.org
Mon Oct 26 10:08:38 CDT 2009


Module: wine
Branch: master
Commit: 91344ae77ca9cf6869efc1293c7e8d777da82238
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91344ae77ca9cf6869efc1293c7e8d777da82238

Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date:   Sun Oct 18 17:40:41 2009 +0200

winmm: Time formats hms/tmsf use leading zeroes as in 00:00:00.

---

 dlls/winmm/mci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index 72f590e..e28a298 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -1155,8 +1155,8 @@ static	DWORD	MCI_HandleReturnValues(DWORD dwRet, LPWINE_MCIDRIVER wmd, DWORD ret
 {
     static const WCHAR wszLd  [] = {'%','l','d',0};
     static const WCHAR wszLd4 [] = {'%','l','d',' ','%','l','d',' ','%','l','d',' ','%','l','d',0};
-    static const WCHAR wszCol3[] = {'%','d',':','%','d',':','%','d',0};
-    static const WCHAR wszCol4[] = {'%','d',':','%','d',':','%','d',':','%','d',0};
+    static const WCHAR wszCol3[] = {'%','0','2','d',':','%','0','2','d',':','%','0','2','d',0};
+    static const WCHAR wszCol4[] = {'%','0','2','d',':','%','0','2','d',':','%','0','2','d',':','%','0','2','d',0};
 
     if (lpstrRet) {
 	switch (retType) {




More information about the wine-cvs mailing list