]> git.eshelyaron.com Git - emacs.git/commit
Minor tweaks to HAVE_NATIVE_SCALING code
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jan 2019 23:29:21 +0000 (15:29 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Jan 2019 23:30:13 +0000 (15:30 -0800)
commit9609db9d98babfe8782a03aebe46176e57905c63
tree0210ea06203f5cb67c93dce0f42858bd3c48e0fb
parenta1b7a3f2a3957a399d6c3c7bcffa07ac67da82fc
Minor tweaks to HAVE_NATIVE_SCALING code

This mostly just reindents.
* src/image.c (x_set_image_size): Always define, but to a no-op
if !HAVE_NATIVE_SCALING, to avoid an #ifdef elsewhere.
(x_create_x_image_and_pixmap): Move decl to avoid an #ifdef.
(image_create_x_image_and_pixmap): Move #ifdef outside of call.
* src/xterm.c (x_composite_image): Avoid ‘else #endif’.
src/dispextern.h
src/image.c
src/xterm.c