From: Laszlo T. <ave...@us...> - 2006-07-14 21:02:21
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv15819/Core Modified Files: Interface.cpp Log Message: GetSlotItem(0,0) will return dragged item data Index: Interface.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/Interface.cpp,v retrieving revision 1.410 retrieving revision 1.411 diff -C2 -d -r1.410 -r1.411 *** Interface.cpp 7 Jul 2006 13:34:25 -0000 1.410 --- Interface.cpp 14 Jul 2006 21:02:12 -0000 1.411 *************** *** 3485,3489 **** return 1; } ! if ( itype>=ItemTypes ) { //invalid itemtype return 0; --- 3485,3489 ---- return 1; } ! if ( (unsigned int) itype>=(unsigned int) ItemTypes) { //invalid itemtype return 0; |