Mercurial > vim
comparison src/netbeans.c @ 33840:f1a17857b9b0 v9.0.2132
patch 9.0.2132: Duplicate Netbeans Error Message
Commit: https://github.com/vim/vim/commit/5c233437701e4a40327c73559cdda345471229b4
Author: Christian Brabandt <cb@256bit.org>
Date: Mon Nov 27 20:04:24 2023 +0100
patch 9.0.2132: Duplicate Netbeans Error Message
Problem: Duplicate Netbeans Error Message
Solution: Remove duplicate message
We have 2 error Messages used for the Netbeans interface:
- EXTERN char e_invalid_buffer_identifier_in_close[]
INIT(= N_("E648: Invalid buffer identifier in close"));
- EXTERN char e_invalid_buffer_identifier_in_close_2[]
INIT(= N_("E649: Invalid buffer identifier in close"));
Since the error message is exactly the same, get rid of the second
message.
closes: #13584
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 27 Nov 2023 20:15:05 +0100 |
parents | 695b50472e85 |
children | 8303936dbd64 |
comparison
equal
deleted
inserted
replaced
33839:4a0cb174c4c4 | 33840:f1a17857b9b0 |
---|---|
1873 { | 1873 { |
1874 nbdebug((" invalid buffer identifier in close\n")); | 1874 nbdebug((" invalid buffer identifier in close\n")); |
1875 // This message was commented out, probably because it can | 1875 // This message was commented out, probably because it can |
1876 // happen when shutting down. | 1876 // happen when shutting down. |
1877 if (p_verbose > 0) | 1877 if (p_verbose > 0) |
1878 emsg(_(e_invalid_buffer_identifier_in_close_2)); | 1878 emsg(_(e_invalid_buffer_identifier_in_close)); |
1879 } | 1879 } |
1880 nbdebug((" CLOSE %d: %s\n", bufno, name)); | 1880 nbdebug((" CLOSE %d: %s\n", bufno, name)); |
1881 #ifdef FEAT_GUI | 1881 #ifdef FEAT_GUI |
1882 need_mouse_correct = TRUE; | 1882 need_mouse_correct = TRUE; |
1883 #endif | 1883 #endif |