summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 60c4405)
raw | patch | inline | side by side (parent: 60c4405)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 5 Feb 2009 17:38:47 +0000 (18:38 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 5 Feb 2009 20:56:50 +0000 (21:56 +0100) |
tig.c | patch | blob | history |
index e0d0640b97d73b1b26058724c19a02afea487ff6..a32db5d0f1a5ebd5eaf7379d2314962d510b4c7f 100644 (file)
--- a/tig.c
+++ b/tig.c
add_builtin_run_requests();
- if (!tigrc_system) {
- if (!string_format(buf, "%s/tigrc", SYSCONFDIR))
- return ERR;
- tigrc_system = buf;
- }
+ if (!tigrc_system)
+ tigrc_system = SYSCONFDIR "/tigrc";
load_option_file(tigrc_system);
if (!tigrc_user) {