When is a bug not your bug?
BlitzMax Forums/Brucey's Modules/When is a bug not your bug?
| ||
... when it's someone else's!! Of course, after you've spent several hours checking and double-checking your own code - on the assumption that since something isn't working, you've probably implemented it wrong... ... you eventually start debugging the code you are wrapping. Only to find this : char *_strlwr(char * str ) { if (str==0) return 0; int i=0; while (str[i]) { if (str[i]>='A' && str[i]<='Z') str[i]+='a'-'A'; } return str; } Answers on a postcard to.... :-p |
| ||
Thats messed... where is it from? |
| ||
Raknet :-) |
| ||
Maybe it's some kind of in-joke. |