merces/pev — pull request #40 by logan-m-lamb (2012-11-08 16:16:33+00:00)
Title: small fix to is_pe so it will work after seeking elsewhere in the file

For example, after calling pe_get_optional is_pe returns false.

Old behavior:
pe_init -> true
is_pe -> true
pe_get_optional -> true
is_pe -> false

Correct behavior:
pe_init -> true
is_pe -> true
pe_get_optional -> true
is_pe -> true