summaryrefslogtreecommitdiff
path: root/tterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tterm.c')
-rw-r--r--tterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tterm.c b/tterm.c
index ba46d64..ae57ab8 100644
--- a/tterm.c
+++ b/tterm.c
@@ -54,7 +54,7 @@ cwdcpy(char *path)
int len;
r = strdup(path);
- if (strncmp(path, "/home/", sizeof("/home")-1) == 0) {
+ if (strncmp(path, "/home/", sizeof("/home/")-1) == 0) {
user = getenv("USER");
len = strlen(user);
r += sizeof("/home")-1;