strazzere / 010Editor-stuff

A collection of 010 Editor specific stuff
402 stars 158 forks source link

Fix AXMLTemplate error when string size is 0 #2

Closed marnitto closed 9 years ago

marnitto commented 9 years ago

This patch fix AXMLTemplate.bt parse error caused by PoolItemReader(). Previous template reports error when pool_item.special_string has null string(size=0).

Also I added FTell() at line 121, because 010 editor v5.0.2 ReadByte() expects 1 arguments.

Hope this helps!

strazzere commented 9 years ago

Thanks for the contribution!