ImageAnimator.cs: Corrected implementation of CanAnimate() method.
svn path=/trunk/mcs/; revision=26886
+2004-05-06 Sanjay Gupta <gsanjay@novell.com>
+
+ * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
+
2004-05-06 Ravindra <rkumar@novell.com>
* RectangleConverter.cs: Implemented GetProperties () method.
//with parameter FrameDimension.Time
Guid[] dimensionList = img.FrameDimensionsList;
int length = dimensionList.Length;
- for (int i=0; i<length; i++)
- {
- Guid dimension = dimensionList[i];
- if (dimension.Equals (FrameDimension.Time))
- {
+ for (int i=0; i<length; i++){
+ if (dimensionList [i].Equals(FrameDimension.Time.Guid)){
int frameCount = img.GetFrameCount (FrameDimension.Time);
if (frameCount > 1)
return true;