Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




ShadowFlare [Sat, 21 Oct 2006 20:37:29 +0000 (20:37 +0000)]
grpapi/grpapi.cpp

index 6c96c56..6e6b3ff 100644 (file)
@@ -233,7 +233,8 @@ BOOL GRPAPI WINAPI DrawGrp(HANDLE hGrp, HDC hdcDest, int nXDest, int nYDest, WOR
                                FrameSize = j;\r
                }\r
        }\r
-       if (FrameSize == 0xFFFFFF) {\r
+       if (FrameSize == 0xFFFFFF || FrameSize == GrpFrame->Width * GrpFrame->Height) {\r
+               FrameSize = 0xFFFFFF;\r
                for (i = 0; i + 1 < GrpFile->nFrames; i++) {\r
                        j = GrpFrames[i].Offset - GrpFrames[0].Offset;\r
                        if (j > 0 && j < FrameSize)\r