Mercurial > vim
comparison src/register.c @ 28247:f70015784777 v8.2.4649
patch 8.2.4649: various formatting problems
Commit: https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 30 10:57:45 2022 +0100
patch 8.2.4649: various formatting problems
Problem: Various formatting problems.
Solution: Improve the code formatting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Mar 2022 12:00:05 +0200 |
parents | f825792fddb1 |
children | 21e96d9b66c0 |
comparison
equal
deleted
inserted
replaced
28246:e3d6184b89fa | 28247:f70015784777 |
---|---|
2397 if (j) | 2397 if (j) |
2398 { | 2398 { |
2399 msg_puts_attr("^J", attr); | 2399 msg_puts_attr("^J", attr); |
2400 n -= 2; | 2400 n -= 2; |
2401 } | 2401 } |
2402 for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; | 2402 for (p = yb->y_array[j]; |
2403 ++p) | 2403 *p != NUL && (n -= ptr2cells(p)) >= 0; ++p) |
2404 { | 2404 { |
2405 clen = (*mb_ptr2len)(p); | 2405 clen = (*mb_ptr2len)(p); |
2406 msg_outtrans_len(p, clen); | 2406 msg_outtrans_len(p, clen); |
2407 p += clen - 1; | 2407 p += clen - 1; |
2408 } | 2408 } |