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:
parent
51b3dc3a66
commit
950c5b0ad4
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue