ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 50 forks source link

Fix wrong string length in REMOVE macro #40

Closed dwzg closed 4 years ago

dwzg commented 4 years ago

The sizeof operator returns number of chars + \0, but remove_string() expects only number of characters

ss7m commented 4 years ago

I should've caught that, given I wrote the REMOVE_CONST_STRING macro in the first place. Thanks for catching this.