]> git.eshelyaron.com Git - emacs.git/commit
Fix DPI calculation when Xft/DPI is default
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Aug 2015 06:23:14 +0000 (23:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 10 Aug 2015 06:23:38 +0000 (23:23 -0700)
commita9bb9d8fc22417d1fafd8001d89a91c33c8b39ec
tree6cc8920624e5f5d01f1a9d94136f129161d3f323
parentd39f33cf37b8c352e3ca6839eb2b8e01cb8103a8
Fix DPI calculation when Xft/DPI is default

* src/xsettings.c (parse_settings): Don't use Xft/DPI default
value of -1, which evaluates to 2**32 - 1 (Bug#21152).
Remove unnecessary cast while we're in the neighborhood.
src/xsettings.c