Skip to content
Snippets Groups Projects
Commit 0a31c6f2 authored by Albert Gräf's avatar Albert Gräf
Browse files

increase string buffer size to accommodate the terminating nul character

parent ae044d6f
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ static void cooled_update_block(t_cooled *x, t_glist *glist, int bnumber)
int hi, i=0;
t_float fspectrum=0.0;
int phase=0;
char color[8];
char color[9];
memset( x->x_gifdata, 0x0, x->x_height*x->x_zoom*sizeof("#FFFFFF ") );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment