Module: wine Branch: master Commit: 7c0c30b4d650d663770e0bbf683946005506bb8d URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c0c30b4d650d663770e0bbf68...
Author: Ken Thomases ken@codeweavers.com Date: Wed Nov 6 06:58:42 2013 -0600
winemac: Fix search for clipboard format matching a pasteboard type so it can fail when it should.
It had been acting as though the last registered clipboard format always matched any pasteboard type.
---
dlls/winemac.drv/clipboard.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winemac.drv/clipboard.c b/dlls/winemac.drv/clipboard.c index ee63c10..5d765f4 100644 --- a/dlls/winemac.drv/clipboard.c +++ b/dlls/winemac.drv/clipboard.c @@ -367,6 +367,7 @@ static WINE_CLIPFORMAT* format_for_type(WINE_CLIPFORMAT *current, CFStringRef ty } }
+ format = NULL; if (!current) { LPWSTR name;