Commit 7ab66526 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Small fix for svg icons.

parent 329fc5da
...@@ -869,7 +869,14 @@ write_bucket (FILE *cache, HashNode *node, int *offset) ...@@ -869,7 +869,14 @@ write_bucket (FILE *cache, HashNode *node, int *offset)
} }
else 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; return FALSE;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment