mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor: use bool
to represent boolean values
This commit is contained in:
@@ -374,7 +374,7 @@ static int calc_hist_idx(int histype, int num)
|
||||
|
||||
histentry_T *hist = history[histype];
|
||||
if (num > 0) {
|
||||
int wrapped = false;
|
||||
bool wrapped = false;
|
||||
while (hist[i].hisnum > num) {
|
||||
if (--i < 0) {
|
||||
if (wrapped) {
|
||||
|
Reference in New Issue
Block a user