From 452e7bdc03546c71d2d9ebffbcd254b5842e052d Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 26 Aug 2002 22:20:58 +0000 Subject: - warning fixes from Dominik Mierzejewski - wsXDNDProcessSelection return Truae fix - add url list saving support from Morten Volden - fix bug's in this patches - fix some memleak and bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7093 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/wm/wsxdnd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Gui/wm') diff --git a/Gui/wm/wsxdnd.c b/Gui/wm/wsxdnd.c index 0e6da01349..92a37cca22 100644 --- a/Gui/wm/wsxdnd.c +++ b/Gui/wm/wsxdnd.c @@ -126,6 +126,7 @@ wsXDNDProcessSelection(wsTWindow* wnd, XEvent *event) } free(delme); + return True; } Bool @@ -153,10 +154,11 @@ wsXDNDProcessClientMessage(wsTWindow* wnd, XClientMessageEvent *event) } } else { /* need to check the whole list here */ - int ret_left = 1; + unsigned long ret_left = 1; int offset = 0; Atom* ret_buff; - int ret_type,ret_format,ret_items; + Atom ret_type; + unsigned long ret_format,ret_items; /* while there is data left...*/ while(ret_left){ XGetWindowProperty(wsDisplay,event->data.l[0],_XA_XdndTypeList, -- cgit v1.2.3