[MPlayer-cvslog] r34441 - trunk/gui/app.c
ib
subversion at mplayerhq.hu
Mon Dec 12 10:20:35 CET 2011
Author: ib
Date: Mon Dec 12 10:20:34 2011
New Revision: 34441
Log:
Return right pointer.
Return pointer to found item, not to the start of the array.
Modified:
trunk/gui/app.c
Modified: trunk/gui/app.c
==============================================================================
--- trunk/gui/app.c Sun Dec 11 22:32:07 2011 (r34440)
+++ trunk/gui/app.c Mon Dec 12 10:20:34 2011 (r34441)
@@ -169,7 +169,7 @@ wItem *appFindItem(int event)
for (i = 0; i <= n; i++)
if (item[i].message == event)
- return item;
+ return &item[i];
return NULL;
}
More information about the MPlayer-cvslog
mailing list