summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:47:00 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 16:47:00 +0000
commita9e3d5c56aa515a4a63212ced6433f4612f62e57 (patch)
treeee3a9faad1477f9e1e63f79efc16213c38862d33 /names.c
parentbb459beb032cfa9473cdef21ef645b350d61728c (diff)
More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.
Diffstat (limited to 'names.c')
-rw-r--r--names.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/names.c b/names.c
index 02be77aa..293a0c4a 100644
--- a/names.c
+++ b/names.c
@@ -1,4 +1,4 @@
-/* $Id: names.c,v 1.7 2009-06-25 16:21:32 nicm Exp $ */
+/* $Id: names.c,v 1.8 2009-06-25 16:47:00 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -101,9 +101,8 @@ parse_window_name(const char *in)
}
if (*name == '/')
- name = xbasename(name);
+ name = basename(name);
name = xstrdup(name);
xfree(copy);
return (name);
}
-