]> git.lizzy.rs Git - dragonfireclient.git/commit
Fix crash if display resolution is not set (#7950)
authorMartin Renold <martin@log2.ch>
Sat, 8 Dec 2018 15:26:04 +0000 (16:26 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 8 Dec 2018 15:26:04 +0000 (16:26 +0100)
commitb02effdab9b837bd2197ffe7f7f26e0e49fe8acd
tree63e868b6748b236b105b4d209dab6a048ab19cfe
parentf0dca284b3d4fe266e88f6df8c6e3ad9d1411496
Fix crash if display resolution is not set (#7950)

On my wayland / gnome3 setup DisplayHeightMM() returns 0. This resulted in a
misleading startup error suggesting to fix my font paths.
src/client/fontengine.cpp
src/client/renderingengine.cpp