whitespace
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2933 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -89,7 +89,8 @@ AllocDrawable (COUNT n)
|
|||||||
int i;
|
int i;
|
||||||
Drawable->Frame = (FRAME)HMalloc (sizeof (FRAME_DESC) * n);
|
Drawable->Frame = (FRAME)HMalloc (sizeof (FRAME_DESC) * n);
|
||||||
|
|
||||||
/* Zero out the newly allocated frames, since HMalloc doesn't have MEM_ZEROINIT. */
|
/* Zero out the newly allocated frames, since HMalloc doesn't have
|
||||||
|
* MEM_ZEROINIT. */
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
FRAME F;
|
FRAME F;
|
||||||
F = &Drawable->Frame[i];
|
F = &Drawable->Frame[i];
|
||||||
@@ -245,3 +246,4 @@ SetFrameTransparentColor (FRAME Frame, COLOR c32k)
|
|||||||
TFB_DrawCanvas_SetTransparentColor (Frame->image->NormalImg,
|
TFB_DrawCanvas_SetTransparentColor (Frame->image->NormalImg,
|
||||||
color.r, color.g, color.b, FALSE);
|
color.r, color.g, color.b, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user