Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It seems that some kind of font doesn't return the right value in tmAveCharWidth by GetTextMetrics(). It returns about the double width of the expected value. So the screen width becomes wider. This patch works around it by calculating the average character size. (The same method has already been used in another part of gui_w32.c.)
- Loading branch information