The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on May 09, 2020, 08:39:28 AM

Title: Fix for possible division by zero when running headless server
Post by: ceeac on May 09, 2020, 08:39:28 AM
The code which has the error (in banner_text::draw, line 201/202) is compiled but not executed when using the posix backend, but better be safe than sorry. :)
Title: Re: Fix for possible division by zero when running headless server
Post by: prissi on May 09, 2020, 12:33:56 PM
Hmm, one could say the other way round, if there is code executing for graphicless server depending on font height. But either is fine with me. Changed in r9079.