aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-11 23:31:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-12 10:25:06 +0800
commiteb29179da623f9cf4abd663577395a085452ca18 (patch)
treea7eec4690f254d4cb9048ca87a5e7f401a2e74ae /composer
parentbeb8e74577f695d0d3c2efea52dc10c2136f0135 (diff)
downloadgsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.gz
gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.tar.zst
gsoc2013-evolution-eb29179da623f9cf4abd663577395a085452ca18.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 791d151165..e1bf625200 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1181,10 +1181,10 @@ encode_signature_uid (ESignature *signature)
s = uid;
while (*s) {
- len ++;
+ len++;
if (*s == '"' || *s == '.' || *s == '=')
- len ++;
- s ++;
+ len++;
+ s++;
}
ename = g_new (gchar, len + 1);
@@ -1194,23 +1194,23 @@ encode_signature_uid (ESignature *signature)
while (*s) {
if (*s == '"') {
*e = '.';
- e ++;
+ e++;
*e = '1';
- e ++;
+ e++;
} else if (*s == '=') {
*e = '.';
- e ++;
+ e++;
*e = '2';
- e ++;
+ e++;
} else {
*e = *s;
- e ++;
+ e++;
}
if (*s == '.') {
*e = '.';
- e ++;
+ e++;
}
- s ++;
+ s++;
}
*e = 0;
@@ -1226,13 +1226,13 @@ decode_signature_name (const gchar *name)
s = name;
while (*s) {
- len ++;
+ len++;
if (*s == '.') {
- s ++;
+ s++;
if (!*s || !(*s == '.' || *s == '1' || *s == '2'))
return NULL;
}
- s ++;
+ s++;
}
dname = g_new (char, len + 1);
@@ -1241,7 +1241,7 @@ decode_signature_name (const gchar *name)
d = dname;
while (*s) {
if (*s == '.') {
- s ++;
+ s++;
if (!*s || !(*s == '.' || *s == '1' || *s == '2')) {
g_free (dname);
return NULL;
@@ -1254,8 +1254,8 @@ decode_signature_name (const gchar *name)
*d = '.';
} else
*d = *s;
- d ++;
- s ++;
+ d++;
+ s++;
}
*d = 0;