aboutsummaryrefslogtreecommitdiffstats
path: root/indep.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-17 17:06:57 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-17 17:06:57 +0000
commit264b3e35ec0ba487e0c8a0af5237c81fd0d4b3c3 (patch)
tree43d60426de87a3dcfc3947b6ed792ab29499d2fe /indep.c
parent[w3m-dev 03647] expandName() and expandPath() (diff)
downloadw3m-264b3e35ec0ba487e0c8a0af5237c81fd0d4b3c3.tar.gz
w3m-264b3e35ec0ba487e0c8a0af5237c81fd0d4b3c3.zip
fix indent
Diffstat (limited to 'indep.c')
-rw-r--r--indep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/indep.c b/indep.c
index 589ae73..9e1f0de 100644
--- a/indep.c
+++ b/indep.c
@@ -1,4 +1,4 @@
-/* $Id: indep.c,v 1.29 2003/01/17 17:06:02 ukai Exp $ */
+/* $Id: indep.c,v 1.30 2003/01/17 17:07:00 ukai Exp $ */
#include "fm.h"
#include <stdio.h>
#include <pwd.h>
@@ -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)