fix(folds): use long for number of folded lines (#21447)

Also remove some duplicate unsigned long casts.
This commit is contained in:
zeertzjq
2022-12-17 08:11:35 +08:00
committed by GitHub
parent 37915cc5ab
commit 4d860a5370
3 changed files with 8 additions and 8 deletions

View File

@@ -4391,14 +4391,14 @@ static int check_more(int message, bool forceit)
vim_snprintf((char *)buff, DIALOG_MSG_SIZE,
NGETTEXT("%d more file to edit. Quit anyway?",
"%d more files to edit. Quit anyway?", (unsigned long)n), n);
"%d more files to edit. Quit anyway?", n), n);
if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 1) == VIM_YES) {
return OK;
}
return FAIL;
}
semsg(NGETTEXT("E173: %" PRId64 " more file to edit",
"E173: %" PRId64 " more files to edit", (unsigned long)n), (int64_t)n);
"E173: %" PRId64 " more files to edit", n), (int64_t)n);
quitmore = 2; // next try to quit is allowed
}
return FAIL;