Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: fusl/src/multibyte/wctob.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/multibyte/wctob.c
diff --git a/fusl/src/multibyte/wctob.c b/fusl/src/multibyte/wctob.c
index 4aeda6a132b5145a5e4ebb08bce8c9cf43e831e9..3be4b4c89883aa2b79ff96f8baf66b57d2e9815f 100644
--- a/fusl/src/multibyte/wctob.c
+++ b/fusl/src/multibyte/wctob.c
@@ -2,9 +2,10 @@
#include <stdlib.h>
#include "internal.h"
-int wctob(wint_t c)
-{
- if (c < 128U) return c;
- if (MB_CUR_MAX==1 && IS_CODEUNIT(c)) return (unsigned char)c;
- return EOF;
+int wctob(wint_t c) {
+ if (c < 128U)
+ return c;
+ if (MB_CUR_MAX == 1 && IS_CODEUNIT(c))
+ return (unsigned char)c;
+ return EOF;
}

Powered by Google App Engine
This is Rietveld 408576698