From be12ebceab3c770638a0c3b847579d8933b0d552 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Thu, 23 Nov 2017 15:48:25 +0000 Subject: [PATCH] tidy: clang-format --- enter.c | 13 +++++++------ mutt/file.c | 1 - 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/enter.c b/enter.c index 26d3b164c..55980f1a7 100644 --- a/enter.c +++ b/enter.c @@ -203,14 +203,15 @@ int mutt_enter_string_full(char *buf, size_t buflen, int col, int flags, int mul { /* Go to end of line */ state->curpos = state->lastchar; - state->begin = - mutt_mb_width_ceiling(state->wbuf, state->lastchar, - mutt_mb_wcswidth(state->wbuf, state->lastchar) - width + 1); + state->begin = mutt_mb_width_ceiling( + state->wbuf, state->lastchar, + mutt_mb_wcswidth(state->wbuf, state->lastchar) - width + 1); } if (state->curpos < state->begin || mutt_mb_wcswidth(state->wbuf + state->begin, state->curpos - state->begin) >= width) - state->begin = mutt_mb_width_ceiling(state->wbuf, state->lastchar, - mutt_mb_wcswidth(state->wbuf, state->curpos) - width / 2); + state->begin = mutt_mb_width_ceiling( + state->wbuf, state->lastchar, + mutt_mb_wcswidth(state->wbuf, state->curpos) - width / 2); mutt_window_move(MuttMessageWindow, 0, col); w = 0; for (i = state->begin; i < state->lastchar; i++) @@ -223,7 +224,7 @@ int mutt_enter_string_full(char *buf, size_t buflen, int col, int flags, int mul mutt_window_clrtoeol(MuttMessageWindow); mutt_window_move(MuttMessageWindow, 0, col + mutt_mb_wcswidth(state->wbuf + state->begin, - state->curpos - state->begin)); + state->curpos - state->begin)); } mutt_refresh(); diff --git a/mutt/file.c b/mutt/file.c index 0b98c1729..1a498c716 100644 --- a/mutt/file.c +++ b/mutt/file.c @@ -1042,7 +1042,6 @@ int mutt_file_chmod_add_stat(const char *path, mode_t mode, struct stat *st) return chmod(path, st->st_mode | mode); } - /** * mutt_file_chmod_rm - remove permissions from a file * @param path Filename -- 2.40.0