ChiefOfGxBxL / WC3MapTranslator

Translate war3map ⇄ json formats for WarCraft III .w3x maps
https://www.npmjs.com/package/wc3maptranslator
MIT License
73 stars 31 forks source link

Upgrade addString() being used for non-null-terminated character arrays #57

Closed ChiefOfGxBxL closed 3 years ago

ChiefOfGxBxL commented 3 years ago

addChars() is a new method that handles a string that is not meant to be null-terminated.

addString() now always adds a null terminator.