1
0
Fork 0

Reset state machine to "simple" after closing a bezier curve.

Fixes a segfault at LFPG.
This commit is contained in:
Christian Schmitt 2013-03-20 12:49:36 +01:00
parent b1dd1d9e36
commit 73f07b7506

View file

@ -659,8 +659,8 @@ int Parser::ParseLine(char* line)
cur_airport->AddFeature( cur_feat );
}
cur_feat = NULL;
SetState( STATE_PARSE_SIMPLE );
}
SetState( STATE_PARSE_SIMPLE );
prev_node = NULL;
cur_node = NULL;
break;