C/C++ is weird. I was encountering an odd bug in one of my projects, and the fix...
Jake Gross @datajake1999@dragonscave.space
C/C++ is weird. I was encountering an odd bug in one of my projects, and the fix was storing the result of a function call in a variable before executing an if statement that checked that variable along with another one that was previously stored. The old code called the function in the if statement directly, and I can't explain why these two approaches have different results.