[evolution] Change parentheses in an if() to avoid clang warning
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Change parentheses in an if() to avoid clang warning
- Date: Mon, 4 Feb 2019 09:59:14 +0000 (UTC)
commit 24e434f45c539cd1b8d3c99cf3d38d8a4121cdca
Author: Milan Crha <mcrha redhat com>
Date: Mon Feb 4 10:59:10 2019 +0100
Change parentheses in an if() to avoid clang warning
src/modules/webkit-editor/web-extension/e-editor-dom-functions.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index cdf02e3979..93b3ade7fb 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -13753,7 +13753,7 @@ find_where_to_break_line (WebKitDOMCharacterData *node,
last_break_position = pos;
}
- if ((pos == max_length)) {
+ if (pos == max_length) {
/* Look one character after the limit to check if there
* is a space (skip dash) that we are allowed to break at, if so
* break it there. */
@@ -13761,8 +13761,8 @@ find_where_to_break_line (WebKitDOMCharacterData *node,
str = g_utf8_next_char (str);
uc = g_utf8_get_char (str);
- if ((g_unichar_isspace (uc) &&
- !(g_unichar_break_type (uc) == G_UNICODE_BREAK_NON_BREAKING_GLUE)))
+ if (g_unichar_isspace (uc) &&
+ !(g_unichar_break_type (uc) == G_UNICODE_BREAK_NON_BREAKING_GLUE))
last_break_position = ++pos;
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]