comparison src/option.c @ 18498:9e6d5a4abb1c v8.1.2243

patch 8.1.2243: typos in comments Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 22:54:41 2019 +0100 patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust formatting a bit.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 23:00:06 +0100
parents 18d7337b6837
children 8b0114ffde2b
comparison
equal deleted inserted replaced
18497:14e9f08eec14 18498:9e6d5a4abb1c
4875 if (buf == NULL) 4875 if (buf == NULL)
4876 goto fail; 4876 goto fail;
4877 home_replace(NULL, *valuep, buf, size, FALSE); 4877 home_replace(NULL, *valuep, buf, size, FALSE);
4878 4878
4879 // If the option value is longer than MAXPATHL, we need to append 4879 // If the option value is longer than MAXPATHL, we need to append
4880 // earch comma separated part of the option separately, so that it 4880 // each comma separated part of the option separately, so that it
4881 // can be expanded when read back. 4881 // can be expanded when read back.
4882 if (size >= MAXPATHL && (flags & P_COMMA) != 0 4882 if (size >= MAXPATHL && (flags & P_COMMA) != 0
4883 && vim_strchr(*valuep, ',') != NULL) 4883 && vim_strchr(*valuep, ',') != NULL)
4884 { 4884 {
4885 part = alloc(size); 4885 part = alloc(size);