nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
26.84k stars 7.72k forks source link

stb_image: add trailing semicolon in usage example #1330

Closed lunasorcery closed 1 year ago

lunasorcery commented 2 years ago

Tiny little one-char change to stop the basic usage example from throwing a missing-semicolon error. This one's bugged me for years, I always end up metaphorically stubbing my toe on it, each time I copy-paste the usage example into my own code.

Also wasn't sure whereabouts in the credits to put my name, or if such a tiny change even warrants it, let me know :)

rygorous commented 1 year ago

Fixed in dev branch, will be fixed in the next release. Closing this PR, I just fixed this by hand, it's easier for me. :)