Fix issue 391: backward memset
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1640 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
fba72c9ebd
commit
de9f194b4a
@ -2653,7 +2653,7 @@ void Init_brush_container(void)
|
|||||||
Brush_container[i].Paintbrush_shape=PAINTBRUSH_SHAPE_MAX;
|
Brush_container[i].Paintbrush_shape=PAINTBRUSH_SHAPE_MAX;
|
||||||
Brush_container[i].Width=0;
|
Brush_container[i].Width=0;
|
||||||
Brush_container[i].Height=0;
|
Brush_container[i].Height=0;
|
||||||
memset(Brush_container[i].Palette,sizeof(T_Palette),0);
|
memset(Brush_container[i].Palette,0,sizeof(T_Palette));
|
||||||
Brush_container[i].Transp_color=0;
|
Brush_container[i].Transp_color=0;
|
||||||
for (y=0; y<BRUSH_CONTAINER_PREVIEW_WIDTH; y++)
|
for (y=0; y<BRUSH_CONTAINER_PREVIEW_WIDTH; y++)
|
||||||
for (x=0; x<BRUSH_CONTAINER_PREVIEW_HEIGHT; x++)
|
for (x=0; x<BRUSH_CONTAINER_PREVIEW_HEIGHT; x++)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user