ladishd: fix load of project dict

This commit is contained in:
Nedko Arnaudov 2010-11-14 16:06:51 +02:00
parent 1524a3b43f
commit d9183f0417
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ static void callback_elstart(void * data, const char * el, const char ** attr)
} }
if (context_ptr->depth == 1 && if (context_ptr->depth == 1 &&
context_ptr->element[0] == PARSE_CONTEXT_STUDIO) context_ptr->element[0] == PARSE_CONTEXT_PROJECT)
{ {
context_ptr->dict = ladish_graph_get_dict(room_ptr->graph); context_ptr->dict = ladish_graph_get_dict(room_ptr->graph);
ASSERT(context_ptr->dict != NULL); ASSERT(context_ptr->dict != NULL);