w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 66fd5ceb9595576ee4147825fe8c68b936e88b47
parent e893a2d6a8bcef600bf3ce321e0e773e3850ce64
Author: ukai <ukai>
Date:   Fri, 17 Jan 2003 17:06:57 +0000

fix indent

Diffstat:
Metc.c | 4++--
Mindep.c | 8++++----
Mlocal.c | 2+-
Mrc.c | 2+-
4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/etc.c b/etc.c @@ -1444,11 +1444,11 @@ expandName(char *name) char *q; p += 2; q = strchr(p, '/'); - if (q) { /* /~user/dir... */ + if (q) { /* /~user/dir... */ passent = getpwnam(allocStr(p, q - p)); p = q; } - else { /* /~user */ + else { /* /~user */ passent = getpwnam(p); p = ""; } diff --git a/indep.c b/indep.c @@ -188,12 +188,12 @@ expandPath(char *name) p++; if (IS_ALPHA(*p)) { char *q = strchr(p, '/'); - if (q) { /* ~user/dir... */ - passent = getpwnam(allocStr(p, q - p)); + if (q) { /* ~user/dir... */ + passent = getpwnam(allocStr(p, q - p)); p = q; } - else { /* ~user */ - passent = getpwnam(p); + else { /* ~user */ + passent = getpwnam(p); p = ""; } if (!passent) diff --git a/local.c b/local.c @@ -300,7 +300,7 @@ checkPath(char *fn, char *path) Str tmp; struct stat st; while (*path) { - p = strchr(path, ':'); + p = strchr(path, ':'); tmp = Strnew_charp(expandPath(p ? allocStr(path, p - path) : path)); if (Strlastchar(tmp) != '/') Strcat_char(tmp, '/'); diff --git a/rc.c b/rc.c @@ -1580,7 +1580,7 @@ rcFile(char *base) (base[0] == '.' && (base[1] == '/' || (base[1] == '.' && base[2] == '/'))) || (base[0] == '~' && base[1] == '/'))) - /* /file, ./file, ../file, ~/file */ + /* /file, ./file, ../file, ~/file */ return expandPath(base); return expandPath(Strnew_m_charp(rc_dir, "/", base, NULL)->ptr); }