diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-01-04 18:45:01 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-01-04 19:50:16 -0800 |
commit | efa3afb539b9672ebd6e64cb0c16b98c5f6b8a60 (patch) | |
tree | 8fd166307801d97c801d6a2e75f255d6b0ba0f48 /charset.c | |
parent | 248c2ee8ed7c0ff333ae076041107210c5acd641 (diff) |
Clean up formatting.
Add spaces after if, else, while, for, switch.
Unify the brace placement style. The vast majority of the code uses
Allman style so convert the relatively few K&R braces over.
Diffstat (limited to 'charset.c')
-rw-r--r-- | charset.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -317,7 +317,8 @@ char *mutt_get_default_charset () const char *c = AssumedCharset; const char *c1; - if (c && *c) { + if (c && *c) + { c1 = strchr (c, ':'); strfcpy (fcharset, c, c1 ? (c1 - c + 1) : sizeof (fcharset)); return fcharset; |