Mercurial > vim
diff src/os_mswin.c @ 35685:5c89a485e597 v9.1.0581
patch 9.1.0581: Various lines are indented inconsistently
Commit: https://github.com/vim/vim/commit/d9be94cf03dc123f1bd64531198bd7f52c986162
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Jul 14 10:20:20 2024 +0200
patch 9.1.0581: Various lines are indented inconsistently
Problem: style: Various lines are indented inconsistently
Solution: Retab these lines and correct some comments.
(zeertzjq)
closes: #15259
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 17 Jul 2024 08:13:32 +0200 |
parents | 6e98e7638914 |
children |
line wrap: on
line diff
--- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -2921,7 +2921,7 @@ expand_font_enumproc( // Filter only on ANSI. Otherwise will see a lot of random fonts that we // usually don't want. if (lf->lfCharSet != ANSI_CHARSET) - return 1; + return 1; int (*add_match)(char_u *) = (int (*)(char_u *))lparam; @@ -2955,7 +2955,7 @@ gui_mch_expand_font(optexpand_T *args, v // Always fill in with the current font size as first option for // convenience. We simply round to the closest integer for simplicity. - int font_height = (int)round( + int font_height = (int)round( pixels_to_points(-current_font_height, TRUE, (long_i)NULL)); vim_snprintf(buf, ARRAY_LENGTH(buf), "h%d", font_height); add_match((char_u *)buf);