Bug or am I insane?
I can't figure this one out at all. Please see the attached file. Ignore the random section stuff. There are two functions, getfilename and getfilenamebroke. The only difference is a comment line. But, one function works and the other is broke. I don't have any relative jumps using line numbers so it can't be that. It looks like the IntOp isn't finishing before the StrCpy (though how a comments slows that down I don't honestly know). When I check the stack and variables with Dumpstate::debug, the IntOp looks fine.