Mercurial > mplayer.hg
diff Gui/wm/wsxdnd.c @ 7092:8e9607c5897e
- warning fixes from Dominik Mierzejewski <dominik@rangers.eu.org>
- wsXDNDProcessSelection return Truae fix
- add url list saving support from Morten Volden <mvolden@tdcadsl.dk>
- fix bug's in this patches
- fix some memleak and bug
author | pontscho |
---|---|
date | Mon, 26 Aug 2002 22:20:58 +0000 |
parents | 7242f1840f8d |
children | fad0147bd3aa |
line wrap: on
line diff
--- a/Gui/wm/wsxdnd.c Mon Aug 26 17:20:17 2002 +0000 +++ b/Gui/wm/wsxdnd.c Mon Aug 26 22:20:58 2002 +0000 @@ -126,6 +126,7 @@ } free(delme); + return True; } Bool @@ -153,10 +154,11 @@ } } 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,