Closed ManDeJan closed 6 years ago
+1
I just saw this after I made a pull myself. Only problem with your fix is that the comparisson "testtest"
and "testtesttest"
is true
. You should check if the pointer is at the end of the hwlib::string.
Closed since Wouter fixed string
I was having issues with comparing strings and it turns out strings can only be equal if they are null terminated, my strings where not.
Non null terminated strings are equal to any other string
Stop this racism.