Index: trunk/src_plugins/io_lihata/read.c =================================================================== --- trunk/src_plugins/io_lihata/read.c (revision 31149) +++ trunk/src_plugins/io_lihata/read.c (revision 31150) @@ -2753,10 +2753,10 @@ return -1; } - for(n = doc->root; n != NULL; n = n->next) { + for(n = doc->root->data.list.first; n != NULL; n = n->next) { if (strcmp(n->name, "pixmaps") == 0) { if (n->type == LHT_HASH) { - pxm_init(doc->root); + pxm_init(n); break; } else