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
|
||||
DestroyContext (CONTEXT ContextRef)
|
||||
{
|
||||
TFB_Image *img;
|
||||
|
||||
if (ContextRef == 0)
|
||||
return (FALSE);
|
||||
|
||||
@@ -139,7 +141,7 @@ DestroyContext (CONTEXT ContextRef)
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
|
||||
TFB_Image *img = ContextRef->FontBacking;
|
||||
img = ContextRef->FontBacking;
|
||||
if (img)
|
||||
TFB_DrawImage_Delete (img);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user