Browse Source

removed old gnu style initializer

seems fine with g++ though
v1.x
Tj Holowaychuk 13 years ago
parent
commit
16cd613468
  1. 6
      src/Image.cc

6
src/Image.cc

@ -420,11 +420,7 @@ Image::loadGIFFromBuffer(uint8_t *buf, unsigned len) {
int imageIdx = 0;
GifFileType* gif;
gif_data_t gifd = {
buf: buf
, len: len
, pos: 0
};
gif_data_t gifd = { buf, len, 0 };
if((gif = DGifOpen((void*) &gifd, read_gif_from_memory)) == NULL)
return CAIRO_STATUS_READ_ERROR;

Loading…
Cancel
Save