From: Po Lu Date: Sat, 4 Dec 2021 11:45:12 +0000 (+0800) Subject: Fix coding style of a recent change X-Git-Tag: emacs-29.0.90~3616^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3925fd777f93481932abbba45d6f139746fd3231;p=emacs.git Fix coding style of a recent change * src/pgtkfns.c (update_watched_scale_factor): Fix coding style. --- diff --git a/src/pgtkfns.c b/src/pgtkfns.c index febc90ad4e1..74591452fb6 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c @@ -1180,11 +1180,12 @@ pgtk_default_font_parameter (struct frame *f, Lisp_Object parms) RES_TYPE_STRING); } -static void update_watched_scale_factor(struct atimer *timer) +static void +update_watched_scale_factor (struct atimer *timer) { struct frame *f = timer->client_data; - double scale_factor = FRAME_SCALE_FACTOR (f); + if (scale_factor != FRAME_X_OUTPUT (f)->watched_scale_factor) { FRAME_X_OUTPUT (f)->watched_scale_factor = scale_factor;