[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH 2/2] tweaks: normalize indentation and whitespace af
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] [PATCH 2/2] tweaks: normalize indentation and whitespace after the previous change |
Date: |
Mon, 7 May 2018 20:06:41 +0200 |
---
src/move.c | 14 +++++++-------
src/prompt.c | 12 ++++++------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/move.c b/src/move.c
index b7d4fe30..93cc4458 100644
--- a/src/move.c
+++ b/src/move.c
@@ -316,7 +316,7 @@ void do_prev_word(bool allow_punct, bool update_screen)
/* Move to the next word. If after_ends is TRUE, stop at the ends of words
* instead of their beginnings. If allow_punct is TRUE, treat punctuation
- * as part of a word. When requested, update the screen afterwards.
+ * as part of a word. When requested, update the screen afterwards.
* Return TRUE if we started on a word, and FALSE otherwise. */
bool do_next_word(bool after_ends, bool allow_punct, bool update_screen)
{
@@ -354,13 +354,13 @@ bool do_next_word(bool after_ends, bool allow_punct, bool
update_screen)
} else
#endif
{
- /* If this is not a word character, then it's a separator; else
- * if we've already seen a separator, then it's a word start. */
- if (!is_word_mbchar(openfile->current->data +
openfile->current_x,
+ /* If this is not a word character, then it's a
separator; else
+ * if we've already seen a separator, then it's a word
start. */
+ if (!is_word_mbchar(openfile->current->data +
openfile->current_x,
allow_punct))
- seen_space = TRUE;
- else if (seen_space)
- break;
+ seen_space = TRUE;
+ else if (seen_space)
+ break;
}
}
diff --git a/src/prompt.c b/src/prompt.c
index b14e8592..50161bc0 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -307,12 +307,12 @@ void do_statusbar_next_word(void)
else if (seen_word)
break;
} else {
- /* If this is not a word character, then it's a separator; else
- * if we've already seen a separator, then it's a word start. */
- if (!is_word_mbchar(answer + statusbar_x, FALSE))
- seen_space = TRUE;
- else if (seen_space)
- break;
+ /* If this is not a word character, then it's a
separator; else
+ * if we've already seen a separator, then it's a word
start. */
+ if (!is_word_mbchar(answer + statusbar_x, FALSE))
+ seen_space = TRUE;
+ else if (seen_space)
+ break;
}
}
--
2.17.0