aboutsummaryrefslogtreecommitdiffstats
path: root/etc.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 /etc.c
parent[w3m-dev 03647] expandName() and expandPath() (diff)
downloadw3m-264b3e35ec0ba487e0c8a0af5237c81fd0d4b3c3.tar.gz
w3m-264b3e35ec0ba487e0c8a0af5237c81fd0d4b3c3.zip
fix indent
Diffstat (limited to '')
-rw-r--r--etc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc.c b/etc.c
index 52366c0..e7606aa 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.51 2003/01/17 17:06:00 ukai Exp $ */
+/* $Id: etc.c,v 1.52 2003/01/17 17:06:57 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -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 = "";
}