diff options
Diffstat (limited to 'names.c')
-rw-r--r-- | names.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); } - |