|April 18, 2012, 14:17||#1|
Join Date: Apr 2008
[3.4-dev] Minor bugs with Win client
This is called twice: in term_change_font and init_windows. The first time, it correctly sets defaut tile width/height with font width/height, but sets "bizarre" flag incorrectly (should be set only if font has been forced to default). The second time, it uses hardcoded values of 8 and 13, which is incorrect since the default font is now 8x12.
Fix: make a static function and call that twice to avoid the error (and this removes duplicate code at the same time)
2) New default layout (since 15/04)
The new default layout uses string_make for default fonts. However, the default fonts have already been allocated in load_prefs_aux, leading to some memory leaks.
Fix: call string_free in default_layout_win before calls to string_make
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|3.3RC: minor bugs||bulian||Development||8||July 6, 2011 21:44|
|Minor nightlies bugs||Derakon||Development||16||April 5, 2011 07:47|
|A couple of minor bugs in 22.214.171.1246||bron||Vanilla||11||January 4, 2010 23:40|
|3.1-dev: Call for bugs and patches||takkaria||Vanilla||17||January 7, 2009 17:42|
|V dev bugs||Pete Mack||Vanilla||5||September 22, 2008 01:38|