strcmp + empty string = FAIL
#1

Ok im working on some kinda map system and sometimes i gave a empty strings so when i use strcmp
and i compare empty string with something strcmp return me 0 (strings are same) WTF?
I also tried to add length but still same bug...anyone can confirm these?

Im using 0.3c R5 Windows x86 (32bit)
Reply


Messages In This Thread
strcmp + empty string = FAIL - by DRIFT_HUNTER - 02.10.2011, 22:08
Re: strcmp + empty string = FAIL - by DRIFT_HUNTER - 02.10.2011, 22:22

Forum Jump:


Users browsing this thread: 1 Guest(s)