mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1234: the code style has to be checked manually
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
This commit is contained in:
@@ -2093,7 +2093,8 @@ f_digraph_get(typval_T *argvars, typval_T *rettv)
|
||||
|
||||
if (has_mbyte)
|
||||
buf[(*mb_char2bytes)(code, buf)] = NUL;
|
||||
else {
|
||||
else
|
||||
{
|
||||
buf[0] = code;
|
||||
buf[1] = NUL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user