]> granicus.if.org Git - nethack/commit
Three fixes to NetHackW font handling.
authorBart House <bart@barthouse.com>
Sun, 9 Dec 2018 19:57:50 +0000 (11:57 -0800)
committerBart House <bart@barthouse.com>
Sun, 9 Dec 2018 19:57:50 +0000 (11:57 -0800)
commit88bbf781d146c022ecad1790b01e85bbb4ba0958
treebf28aff217a88867458fa468062724c332416e5d
parent0573392f169cd5bd6aa3e089b3c22ba8bdc6d6b5
Three fixes to NetHackW font handling.

Check that player level is valid before checking if it is rogue.
Prevent attempting to pick a font that is too small.
Don't leak fonts when trying to find a font that fits.
win/win32/mhfont.h
win/win32/mhmap.c