While working on https://github.com/windows-server-2003/ThirdTube/issues/20, I found another bug in log.cpp that affects this repository as well.
The upper bound of vertical scrolling was 512 instead of 512 - 23, causing out-of-bound accesses in the the draw function and a crash.
I just #defined 512 and 23.
While working on https://github.com/windows-server-2003/ThirdTube/issues/20, I found another bug in log.cpp that affects this repository as well. The upper bound of vertical scrolling was 512 instead of 512 - 23, causing out-of-bound accesses in the the draw function and a crash. I just #defined 512 and 23.