Alexandre Julliard : ole32: Use the correct resource ids for the drag&drop cursors.
Alexandre Julliard
julliard at winehq.org
Mon Oct 18 13:36:52 CDT 2010
Module: wine
Branch: master
Commit: 1e04e923be2977a2f80f1ab9310d5c4a5a281aa2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1e04e923be2977a2f80f1ab9310d5c4a5a281aa2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Oct 12 20:22:14 2010 +0200
ole32: Use the correct resource ids for the drag&drop cursors.
---
dlls/ole32/ole2.c | 8 ++++----
dlls/ole32/ole32res.rc | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 0829ca1..03cb7f0 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2224,19 +2224,19 @@ static void OLEDD_TrackMouseMove(TrackerWindowInfo* trackerInfo)
if (*trackerInfo->pdwEffect & DROPEFFECT_MOVE)
{
- hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(1));
+ hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(2));
}
else if (*trackerInfo->pdwEffect & DROPEFFECT_COPY)
{
- hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(2));
+ hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(3));
}
else if (*trackerInfo->pdwEffect & DROPEFFECT_LINK)
{
- hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(3));
+ hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(4));
}
else
{
- hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(0));
+ hCur = LoadCursorW(hProxyDll, MAKEINTRESOURCEW(1));
}
SetCursor(hCur);
diff --git a/dlls/ole32/ole32res.rc b/dlls/ole32/ole32res.rc
index 60887a5..c03197c 100644
--- a/dlls/ole32/ole32res.rc
+++ b/dlls/ole32/ole32res.rc
@@ -37,13 +37,13 @@
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: nodrop.cur */
-0 CURSOR nodrop.cur
+1 CURSOR nodrop.cur
/* @makedep: drag_move.cur */
-1 CURSOR drag_move.cur
+2 CURSOR drag_move.cur
/* @makedep: drag_copy.cur */
-2 CURSOR drag_copy.cur
+3 CURSOR drag_copy.cur
/* @makedep: drag_link.cur */
-3 CURSOR drag_link.cur
+4 CURSOR drag_link.cur
More information about the wine-cvs
mailing list