From: Le P. - P. <lep...@us...> - 2005-09-22 17:36:58
|
Update of /cvsroot/amsn/msn/utils/TkCximage/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31838/utils/TkCximage/src Modified Files: PhotoFormat.cpp Log Message: Fix a stupid bug Index: PhotoFormat.cpp =================================================================== RCS file: /cvsroot/amsn/msn/utils/TkCximage/src/PhotoFormat.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** PhotoFormat.cpp 18 Sep 2005 12:13:22 -0000 1.18 --- PhotoFormat.cpp 22 Sep 2005 17:36:51 -0000 1.19 *************** *** 443,447 **** currentFrame--; else ! currentFrame = Info->NumFrames; CxImage *image = Info->image->GetFrameNo(currentFrame); Info->timerToken=Tcl_CreateTimerHandler(image->GetFrameDelay()?10*image->GetFrameDelay():40, AnimateGif, data); --- 443,447 ---- currentFrame--; else ! currentFrame = Info->NumFrames-1; CxImage *image = Info->image->GetFrameNo(currentFrame); Info->timerToken=Tcl_CreateTimerHandler(image->GetFrameDelay()?10*image->GetFrameDelay():40, AnimateGif, data); |