Mercurial > vim
comparison src/drawline.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 84d60deb8f82 |
children | 89bc175b25a5 |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
2256 // 'tabstop' when there are concealed characters. | 2256 // 'tabstop' when there are concealed characters. |
2257 FIX_FOR_BOGUSCOLS; | 2257 FIX_FOR_BOGUSCOLS; |
2258 | 2258 |
2259 // Make sure, the highlighting for the tab char will be | 2259 // Make sure, the highlighting for the tab char will be |
2260 // correctly set further below (effectively reverts the | 2260 // correctly set further below (effectively reverts the |
2261 // FIX_FOR_BOGSUCOLS macro | 2261 // FIX_FOR_BOGSUCOLS macro). |
2262 if (n_extra == tab_len + vc_saved && wp->w_p_list | 2262 if (n_extra == tab_len + vc_saved && wp->w_p_list |
2263 && wp->w_lcs_chars.tab1) | 2263 && wp->w_lcs_chars.tab1) |
2264 tab_len += vc_saved; | 2264 tab_len += vc_saved; |
2265 } | 2265 } |
2266 #endif | 2266 #endif |
2936 { | 2936 { |
2937 // Store the character. | 2937 // Store the character. |
2938 #if defined(FEAT_RIGHTLEFT) | 2938 #if defined(FEAT_RIGHTLEFT) |
2939 if (has_mbyte && wp->w_p_rl && (*mb_char2cells)(mb_c) > 1) | 2939 if (has_mbyte && wp->w_p_rl && (*mb_char2cells)(mb_c) > 1) |
2940 { | 2940 { |
2941 // A double-wide character is: put first halve in left cell. | 2941 // A double-wide character is: put first half in left cell. |
2942 --off; | 2942 --off; |
2943 --col; | 2943 --col; |
2944 } | 2944 } |
2945 #endif | 2945 #endif |
2946 ScreenLines[off] = c; | 2946 ScreenLines[off] = c; |