diff options
author | David Woodfall <dave@dawoodfall.net> | 2013-04-15 22:57:21 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-04-28 12:23:17 -0300 |
commit | 1ea0a9e3d3b33c0a2d44c0f0bf8a70e37ea1c3cf (patch) | |
tree | 92df291f32866b22c8232610a34536591f2bddaf /system/wine/LOTRO.patch | |
parent | c8f00d9d0c84b963dc8745ce68b9469cede770e2 (diff) |
system/wine: Updated for version 1.5.25.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/wine/LOTRO.patch')
-rw-r--r-- | system/wine/LOTRO.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/system/wine/LOTRO.patch b/system/wine/LOTRO.patch deleted file mode 100644 index 4f760793ce..0000000000 --- a/system/wine/LOTRO.patch +++ /dev/null @@ -1,44 +0,0 @@ -From b9716dfe5f6283f83131fe6a638eea14c137ceb4 Mon Sep 17 00:00:00 2001 -From: Daniel Santos <daniel.santos@pobox.com> -Date: Mon, 15 Oct 2012 15:12:59 -0500 -Subject: user32: Don't ignore return/error value of MapWindowPoints - -ScreenToClient should return zero if the operation fails, but is always -returning TRUE. This patch corrects the problem and solves a crash bug -in Lord of the Rings Online (bug #31979) - -Credit for discovering the source of this problem should go to somebody -else, as yet unidentified, since the original patch came from a closed -forum for beta testers of the LoTRO Riders of Rohan expansion and the -forum has subsequently been wiped. However, I'll take credit for fixing -it up, but if I ever figure out where it came from, hopefully they can -get credit as well. ---- - dlls/user32/winpos.c | 11 +++++++++-- - 1 files changed, 9 insertions(+), 2 deletions(-) - -diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c -index 5a2f1f2..80aab32 100644 ---- a/dlls/user32/winpos.c -+++ b/dlls/user32/winpos.c -@@ -250,8 +250,15 @@ BOOL WINAPI ClientToScreen( HWND hwnd, LPPOINT lppnt ) - */ - BOOL WINAPI ScreenToClient( HWND hwnd, LPPOINT lppnt ) - { -- MapWindowPoints( 0, hwnd, lppnt, 1 ); -- return TRUE; -+ DWORD old_err = GetLastError(); -+ BOOL ret; -+ -+ SetLastError(0xd00d13); -+ ret = MapWindowPoints( 0, hwnd, lppnt, 1 ) != 0 || -+ GetLastError() != 0xd00d13; -+ SetLastError(old_err); -+ -+ return ret; - } - - --- -1.7.3.4 - |