Actually fix it.

This commit is contained in:
C. Guy Yarvin 2014-09-24 01:18:42 -07:00
parent 93165be83f
commit ba91377e52

2
g/e.c
View File

@ -407,7 +407,7 @@ _ce_patch_compose(void)
c3_w i_w, pgc_w; c3_w i_w, pgc_w;
_ce_patch_create(pat_u); _ce_patch_create(pat_u);
pat_u->con_u = malloc(sizeof(u3_cs_control) + (pgs_w + sizeof(u3_cs_line))); pat_u->con_u = malloc(sizeof(u3_cs_control) + (pgs_w * sizeof(u3_cs_line)));
pgc_w = 0; pgc_w = 0;
for ( i_w = 0; i_w < nor_w; i_w++ ) { for ( i_w = 0; i_w < nor_w; i_w++ ) {