0
0
mirror of https://github.com/vim/vim.git synced 2025-10-23 08:44:20 -04:00

patch 9.1.1372: style: braces issues in various files

Problem:  style: braces issues in various files
Solution: fix style (Hirohito Higashi)

closes: #17277

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-05-08 22:58:31 +02:00
committed by Christian Brabandt
parent 19e1dd6b6a
commit a4a00a7ad0
9 changed files with 26 additions and 12 deletions

View File

@@ -2091,7 +2091,8 @@ VimDialog::VimDialog(int type, const char *title, const char *message,
float buttonsHeight = 0;
BString strButtons(buttons);
strButtons.RemoveAll("&");
do {
do
{
int32 end = strButtons.FindFirst('\n');
if (end != B_ERROR)
strButtons.SetByteAt(end, '\0');