Mercurial > vim
comparison src/option.c @ 19195:2ef19eed524a v8.2.0156
patch 8.2.0156: various typos in source files and tests
Commit: https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 26 22:00:26 2020 +0100
patch 8.2.0156: various typos in source files and tests
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes https://github.com/vim/vim/issues/5532)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jan 2020 22:15:05 +0100 |
parents | 69f0e9b5c107 |
children | 08f4dc2ba716 |
comparison
equal
deleted
inserted
replaced
19194:9986e645676b | 19195:2ef19eed524a |
---|---|
3153 ) && (options[opt_idx].flags & P_SECURE)) | 3153 ) && (options[opt_idx].flags & P_SECURE)) |
3154 return e_secure; | 3154 return e_secure; |
3155 | 3155 |
3156 #if defined(FEAT_EVAL) | 3156 #if defined(FEAT_EVAL) |
3157 // Save the global value before changing anything. This is needed as for | 3157 // Save the global value before changing anything. This is needed as for |
3158 // a global-only option setting the "local value" infact sets the global | 3158 // a global-only option setting the "local value" in fact sets the global |
3159 // value (since there is only one value). | 3159 // value (since there is only one value). |
3160 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) | 3160 if ((opt_flags & (OPT_LOCAL | OPT_GLOBAL)) == 0) |
3161 old_global_value = *(long *)get_varp_scope(&(options[opt_idx]), | 3161 old_global_value = *(long *)get_varp_scope(&(options[opt_idx]), |
3162 OPT_GLOBAL); | 3162 OPT_GLOBAL); |
3163 #endif | 3163 #endif |