1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

Forgot else clause for setParseFlags

This commit is contained in:
Marenz 2011-05-15 20:37:14 +02:00
parent 51b3dc3a66
commit 950c5b0ad4
2 changed files with 4 additions and 0 deletions

View file

@ -159,6 +159,8 @@ struct ParseState
if (flags & ParseFlag.START_AT_CONTENT) if (flags & ParseFlag.START_AT_CONTENT)
this.part = Part.CONTENT; this.part = Part.CONTENT;
else
this.part = 0;
} }
/** /**

View file

@ -283,6 +283,8 @@ void psyc_setParseFlags (psycParseState *state, uint8_t flags)
if (flags & PSYC_PARSE_START_AT_CONTENT) if (flags & PSYC_PARSE_START_AT_CONTENT)
state->part = PSYC_PART_CONTENT; state->part = PSYC_PART_CONTENT;
else
state->part = 0;
} }