]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct indentation of opening brace in xdisp.c, which isn't at start of defun
authorAlan Mackenzie <acm@muc.de>
Tue, 17 May 2022 10:30:05 +0000 (10:30 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 17 May 2022 10:31:15 +0000 (10:31 +0000)
* 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.

src/xdisp.c

index 5ff54b2884fe9309d294fc59a6b985c6170dd70c..e3e4ca9bb3836efcddef135667dbb01916f226c1 100644 (file)
@@ -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;