Small fix for svg icons.

This commit is contained in:
Matthias Clasen 2005-08-15 03:57:04 +00:00
parent 329fc5da74
commit 7ab6652629

View File

@ -869,7 +869,14 @@ write_bucket (FILE *cache, HashNode *node, int *offset)
}
else
{
if (!write_card32 (cache, image->image_data->offset))
gint offset;
if (image->image_data)
offset = image->image_data->offset;
else
offset = 0;
if (!write_card32 (cache, offset))
return FALSE;
}