From: Po Lu Date: Wed, 19 Jan 2022 06:00:13 +0000 (+0000) Subject: * src/haikufns.c (Fx_display_mm_width): Fix copy-paste error. X-Git-Tag: emacs-29.0.90~2955 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebe2b6fd0dc978f592fdf02f3cf650cefac55fbb;p=emacs.git * src/haikufns.c (Fx_display_mm_width): Fix copy-paste error. --- diff --git a/src/haikufns.c b/src/haikufns.c index d0436bbb96d..58a2e1d4642 100644 --- a/src/haikufns.c +++ b/src/haikufns.c @@ -1876,7 +1876,7 @@ DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0, int width, height; BScreen_px_dim (&width, &height); - return make_fixnum (height / (dpyinfo->resy / 25.4)); + return make_fixnum (width / (dpyinfo->resx / 25.4)); } DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,