0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0989: various small code ugliness

Problem:    Various small code ugliness.
Solution:   Remove pointless NULL checks. Fix function calls. Fix typos.
            (Dominique Pelle, closes #4060)
This commit is contained in:
Bram Moolenaar
2019-03-02 10:13:42 +01:00
parent d82a81cad9
commit bdace838c6
16 changed files with 34 additions and 39 deletions

View File

@@ -7015,7 +7015,7 @@ gui_mch_drawsign(int row, int col, int typenr)
(double)(MIN(height, SIGN_HEIGHT))) < 1.15)
{
/* Change the aspect ratio by at most 15% to fill the
* available space completly. */
* available space completely. */
height = (double)SIGN_HEIGHT * SIGN_ASPECT / aspect;
height = MIN(height, SIGN_HEIGHT);
}