[iclect-commits] iclect/src/iclect.Forms FilmPanels.cs,1.2,1.3
Status: Beta
Brought to you by:
mhjp
|
From: Michael P. <mh...@us...> - 2003-07-18 07:55:39
|
Update of /cvsroot/iclect/iclect/src/iclect.Forms
In directory sc8-pr-cvs1:/tmp/cvs-serv26134/src/iclect.Forms
Modified Files:
FilmPanels.cs
Log Message:
Check index before setting tooltip.
Index: FilmPanels.cs
===================================================================
RCS file: /cvsroot/iclect/iclect/src/iclect.Forms/FilmPanels.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FilmPanels.cs 27 Jun 2003 02:31:42 -0000 1.2
--- FilmPanels.cs 18 Jul 2003 07:55:36 -0000 1.3
***************
*** 400,404 ****
index += (panel.ID * _maxThumbsPerPanel);
! if (index != _toolTipIndex)
{
_toolTipIndex = index;
--- 400,406 ----
index += (panel.ID * _maxThumbsPerPanel);
! if ((index != _toolTipIndex)
! && (0 <= index)
! && (index < _film.ImageCount))
{
_toolTipIndex = index;
|