Still no mid-block variable declaration in VC6. No matter how hard you try, VC6 just won't accept it! :P
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3718 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -123,6 +123,8 @@ FindContextPtr (CONTEXT context) {
|
|||||||
BOOLEAN
|
BOOLEAN
|
||||||
DestroyContext (CONTEXT ContextRef)
|
DestroyContext (CONTEXT ContextRef)
|
||||||
{
|
{
|
||||||
|
TFB_Image *img;
|
||||||
|
|
||||||
if (ContextRef == 0)
|
if (ContextRef == 0)
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
|
|
||||||
@@ -139,7 +141,7 @@ DestroyContext (CONTEXT ContextRef)
|
|||||||
}
|
}
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
TFB_Image *img = ContextRef->FontBacking;
|
img = ContextRef->FontBacking;
|
||||||
if (img)
|
if (img)
|
||||||
TFB_DrawImage_Delete (img);
|
TFB_DrawImage_Delete (img);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user