comparison src/textprop.c @ 32525:bb5458706799 v9.0.1594

patch 9.0.1594: some internal error messages are translated Commit: https://github.com/vim/vim/commit/68ebcee0237d927dd5386073499162389d4d708a Author: RestorerZ <restorer@mail2k.ru> Date: Wed May 31 17:12:14 2023 +0100 patch 9.0.1594: some internal error messages are translated Problem: Some internal error messages are translated. Solution: Consistently do not translate internal error messages. (closes #12459)
author Bram Moolenaar <Bram@vim.org>
date Wed, 31 May 2023 18:15:04 +0200
parents 97255d909654
children 448aef880252
comparison
equal deleted inserted replaced
32524:f32e24ce6970 32525:bb5458706799
640 proplen = buf->b_ml.ml_line_len - textlen; 640 proplen = buf->b_ml.ml_line_len - textlen;
641 if (proplen == 0) 641 if (proplen == 0)
642 return 0; 642 return 0;
643 if (proplen % sizeof(textprop_T) != 0) 643 if (proplen % sizeof(textprop_T) != 0)
644 { 644 {
645 iemsg(_(e_text_property_info_corrupted)); 645 iemsg(e_text_property_info_corrupted);
646 return 0; 646 return 0;
647 } 647 }
648 *props = text + textlen; 648 *props = text + textlen;
649 return (int)(proplen / sizeof(textprop_T)); 649 return (int)(proplen / sizeof(textprop_T));
650 } 650 }