[3/3] comctl32/animate: Fix Animate_* macros

Nikolay Sivov bunglehead at gmail.com
Thu May 14 04:30:29 CDT 2009


Changelog:
    - Fix Animate_* macros

>From e4b0b8a2f8db29621f9eb0f72b64ca317e571a8d Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu, 14 May 2009 00:03:26 +0400
Subject: Fix Animate_* macros

---
 include/commctrl.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/commctrl.h b/include/commctrl.h
index 73df8c3..9428d99 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -4427,13 +4427,13 @@ static const WCHAR ANIMATE_CLASSW[] = { 'S','y','s',
     (BOOL)SNDMSGW(hwnd,ACM_OPENW,(WPARAM)hInst,(LPARAM)(LPWSTR)(szName))
 #define Animate_OpenEx WINELIB_NAME_AW(Animate_OpenEx)
 #define Animate_Play(hwnd,from,to,rep) \
-    (BOOL)SNDMSGA(hwnd,ACM_PLAY,(WPARAM)(UINT)(rep),(LPARAM)MAKELONG(from,to))
+    (BOOL)SNDMSG(hwnd,ACM_PLAY,(WPARAM)(UINT)(rep),(LPARAM)MAKELONG(from,to))
 #define Animate_Stop(hwnd) \
-    (BOOL)SNDMSGA(hwnd,ACM_STOP,0,0)
+    (BOOL)SNDMSG(hwnd,ACM_STOP,0,0)
 #define Animate_Close(hwnd) \
-    (BOOL)SNDMSGA(hwnd,ACM_OPENA,0,0)
+    (BOOL)SNDMSG(hwnd,ACM_OPENA,0,0)
 #define Animate_Seek(hwnd,frame) \
-    (BOOL)SNDMSGA(hwnd,ACM_PLAY,1,(LPARAM)MAKELONG(frame,frame))
+    (BOOL)SNDMSG(hwnd,ACM_PLAY,1,(LPARAM)MAKELONG(frame,frame))
 

 /**************************************************************************
-- 
1.5.6.5





More information about the wine-patches mailing list