aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/winamp.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-10-19 16:39:03 +0000
committerGravatar Fabio Bas2010-10-19 16:39:03 +0000
commit2371d4516577c2887fbe1a735b2293e75597a989 (patch)
tree3fb3bc34d59737a0dc8bfc82d4c618f95e721e68 /src/modules/mediaplayer/winamp.cpp
parentfix for #976 (diff)
downloadKVIrc-2371d4516577c2887fbe1a735b2293e75597a989.tar.gz
KVIrc-2371d4516577c2887fbe1a735b2293e75597a989.tar.bz2
KVIrc-2371d4516577c2887fbe1a735b2293e75597a989.zip
merged egns's patch to enable painless msvc compilation, thank you!
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5091 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/mediaplayer/winamp.cpp')
-rw-r--r--src/modules/mediaplayer/winamp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/mediaplayer/winamp.cpp b/src/modules/mediaplayer/winamp.cpp
index 60bcb29e7..561c01cd3 100644
--- a/src/modules/mediaplayer/winamp.cpp
+++ b/src/modules/mediaplayer/winamp.cpp
@@ -126,8 +126,8 @@ LRESULT CALLBACK WndProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam)
int init()
{
- lpWndProcOld = (void *) GetWindowLong(plugin.hwndParent,GWL_WNDPROC);
- SetWindowLong(plugin.hwndParent,GWL_WNDPROC,(long)WndProc);
+ lpWndProcOld = (void *) GetWindowLong(plugin.hwndParent,GWLP_WNDPROC);
+ SetWindowLongPtr(plugin.hwndParent,GWLP_WNDPROC,(long)WndProc);
return 0;
}