- Timestamp:
- Apr 21, 2006, 10:51:58 PM (15 years ago)
- Location:
- libcaca/trunk/cucul
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/cucul.c
r833 r834 172 172 _cucul_end_dither(); 173 173 174 free(cv->scratch_line);175 176 174 free(cv->chars); 177 175 free(cv->attr); … … 274 272 cv->attr = realloc(cv->attr, new_size * sizeof(uint32_t)); 275 273 } 276 277 /* Recompute the scratch line and the empty line */ 278 if(width != old_width) 279 cv->scratch_line = realloc(cv->scratch_line, width + 1); 280 } 281 274 } 275 -
libcaca/trunk/cucul/cucul_internals.h
r833 r834 33 33 uint32_t *chars; 34 34 uint32_t *attr; 35 char *scratch_line;36 35 37 36 uint16_t fgcolor;
Note: See TracChangeset
for help on using the changeset viewer.