Refactor home_replace() to return the length of the string stored in dst (excluding the NUL).
Use the return value where it makes sense.
In addition in memline.c:
In function set_b0_fname() move ulen into the block where it is used.
In function findswapname() rework logic around displaying "swap file already exists" dialogue so that literal message text is set once.
Cheers
John
https://github.com/vim/vim/pull/20249
(6 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@basilisk0315 pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()