Code

Minor tidyup
authorJonas Fonseca <fonseca@diku.dk>
Thu, 1 Jun 2006 02:05:02 +0000 (04:05 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Thu, 1 Jun 2006 02:05:02 +0000 (04:05 +0200)
tig.c

diff --git a/tig.c b/tig.c
index 44b6a046fdf4028a3837f97c7b2287036fd7a6f7..4e1ffcb5c3a368412048c60f1b809e5bac8ccc5b 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2471,9 +2471,8 @@ load_refs(void)
 static int
 read_repo_config_option(char *name, int namelen, char *value, int valuelen)
 {
-       if (!strcmp(name, "i18n.commitencoding")) {
+       if (!strcmp(name, "i18n.commitencoding"))
                string_copy(opt_encoding, value);
-       }
 
        return OK;
 }