projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dfe9d
)
Correct indentation of opening brace in xdisp.c, which isn't at start of defun
author
Alan Mackenzie
<acm@muc.de>
Tue, 17 May 2022 10:30:05 +0000
(10:30 +0000)
committer
Alan 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
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 5ff54b2884fe9309d294fc59a6b985c6170dd70c..e3e4ca9bb3836efcddef135667dbb01916f226c1 100644
(file)
--- 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;