Return correct resource id for time format strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

time format strings have ids with offset MCI_FORMAT_RETURN_BASE.

Changelog:
    Dmitry Timoshkov <dmitry@xxxxxxxxxxxxxxx>
    Return correct resource id for time format strings.

--- cvs/hq/wine/dlls/winmm/mciavi/info.c	2004-01-01 15:33:54.000000000 +0800
+++ wine/dlls/winmm/mciavi/info.c	2004-01-06 21:08:31.000000000 +0800
@@ -385,7 +385,8 @@ DWORD	MCIAVI_mciStatus(UINT wDevID, DWOR
 	    TRACE("MCI_STATUS_READY = %u\n", LOWORD(lpParms->dwReturn));
 	    break;
 	case MCI_STATUS_TIME_FORMAT:
-	    lpParms->dwReturn = MAKEMCIRESOURCE(wma->dwMciTimeFormat, wma->dwMciTimeFormat);
+	    lpParms->dwReturn = MAKEMCIRESOURCE(wma->dwMciTimeFormat,
+                                wma->dwMciTimeFormat + MCI_FORMAT_RETURN_BASE);
 	    TRACE("MCI_STATUS_TIME_FORMAT => %u\n", LOWORD(lpParms->dwReturn));
 	    ret = MCI_RESOURCE_RETURNED;
 	    break;





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux