From: Alan Mackenzie Date: Tue, 17 May 2022 10:30:05 +0000 (+0000) Subject: Correct indentation of opening brace in xdisp.c, which isn't at start of defun X-Git-Tag: emacs-29.0.90~1910^2~629 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71249b774aa04b8cd46e4201c17470e59cd32dff;p=emacs.git Correct indentation of opening brace in xdisp.c, which isn't at start of defun * xdisp.c (calc_pixel_width_or_height): indent the opening brace of a substatement correctly. It's previous position, in column 0, caused indentation errors in C Mode. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5ff54b2884f..e3e4ca9bb38 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -28441,7 +28441,7 @@ calc_pixel_width_or_height (double *res, struct it *it, Lisp_Object prop, /* '(NUM)': absolute number of pixels. */ if (NUMBERP (car)) -{ + { double fact; int offset = width_p && align_to && *align_to < 0 ? it->lnum_pixel_width : 0;