DLu / roscompile

106 stars 19 forks source link

Check out-of-bounds when counting trailing whitespaces #9

Closed dseifert closed 9 years ago

dseifert commented 9 years ago

In case of empty strings or strings consisting of only spaces, we need to make sure we do not go out-of-bounds.

DLu commented 9 years ago

Thanks for catching this.