Mercurial > vim
comparison src/vim9expr.c @ 30986:360f286b5869 v9.0.0828
patch 9.0.0828: various typos
Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74
Author: dundargoc <gocdundar@gmail.com>
Date: Wed Nov 2 13:30:51 2022 +0000
patch 9.0.0828: various typos
Problem: Various typos.
Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 02 Nov 2022 14:45:11 +0100 |
parents | cbfbf0e17cd0 |
children | 4b9b76aac30c |
comparison
equal
deleted
inserted
replaced
30985:25894f29103e | 30986:360f286b5869 |
---|---|
1240 if (key != NULL) | 1240 if (key != NULL) |
1241 { | 1241 { |
1242 item = dict_find(d, key, -1); | 1242 item = dict_find(d, key, -1); |
1243 if (item != NULL) | 1243 if (item != NULL) |
1244 { | 1244 { |
1245 semsg(_(e_duplicate_key_in_dicitonary), key); | 1245 semsg(_(e_duplicate_key_in_dictionary), key); |
1246 goto failret; | 1246 goto failret; |
1247 } | 1247 } |
1248 item = dictitem_alloc(key); | 1248 item = dictitem_alloc(key); |
1249 if (item != NULL) | 1249 if (item != NULL) |
1250 { | 1250 { |
2723 { | 2723 { |
2724 // right operand should be a positive number | 2724 // right operand should be a positive number |
2725 if (tv2->v_type != VAR_NUMBER) | 2725 if (tv2->v_type != VAR_NUMBER) |
2726 emsg(_(e_bitshift_ops_must_be_number)); | 2726 emsg(_(e_bitshift_ops_must_be_number)); |
2727 else | 2727 else |
2728 emsg(_(e_bitshift_ops_must_be_postive)); | 2728 emsg(_(e_bitshift_ops_must_be_positive)); |
2729 return FAIL; | 2729 return FAIL; |
2730 } | 2730 } |
2731 | 2731 |
2732 if (tv2->vval.v_number > MAX_LSHIFT_BITS) | 2732 if (tv2->vval.v_number > MAX_LSHIFT_BITS) |
2733 tv1->vval.v_number = 0; | 2733 tv1->vval.v_number = 0; |