Mercurial > vim
changeset 14403:e29cbac5e8f6 v8.1.0216
patch 8.1.0216: part of file not indented properly
commit https://github.com/vim/vim/commit/8e85db0376604274bccf12bf5859d92b4192aca1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 27 23:16:51 2018 +0200
patch 8.1.0216: part of file not indented properly
Problem: Part of file not indented properly.
Solution: Adjust the indent. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 27 Jul 2018 23:30:05 +0200 |
parents | 11a4584ecc06 |
children | 45dcd17371bf |
files | src/getchar.c src/version.c |
diffstat | 2 files changed, 10 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/getchar.c +++ b/src/getchar.c @@ -1710,18 +1710,18 @@ vgetc(void) * its ASCII equivalent */ switch (c) { - case K_KPLUS: c = '+'; break; - case K_KMINUS: c = '-'; break; - case K_KDIVIDE: c = '/'; break; + case K_KPLUS: c = '+'; break; + case K_KMINUS: c = '-'; break; + case K_KDIVIDE: c = '/'; break; case K_KMULTIPLY: c = '*'; break; - case K_KENTER: c = CAR; break; + case K_KENTER: c = CAR; break; case K_KPOINT: #ifdef WIN32 - /* Can be either '.' or a ',', * - * depending on the type of keypad. */ - c = MapVirtualKey(VK_DECIMAL, 2); break; + // Can be either '.' or a ',', + // depending on the type of keypad. + c = MapVirtualKey(VK_DECIMAL, 2); break; #else - c = '.'; break; + c = '.'; break; #endif case K_K0: c = '0'; break; case K_K1: c = '1'; break;