Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Count number of shared files.
[doldaconnect.git]
/
clients
/
gtk2
/
dolcon.c
diff --git
a/clients/gtk2/dolcon.c
b/clients/gtk2/dolcon.c
index
64eaf3e
..
356fc62
100644
(file)
--- a/
clients/gtk2/dolcon.c
+++ b/
clients/gtk2/dolcon.c
@@
-1165,9
+1165,8
@@
void handleresps(void)
if((buf = icwcstombs(ires->argv[1].val.str, "UTF-8")) != NULL)
{
p = buf;
if((buf = icwcstombs(ires->argv[1].val.str, "UTF-8")) != NULL)
{
p = buf;
- /* XXX: Too NMDC-specific! */
- if(strrchr(p, '\\') != NULL)
- p = strrchr(p, '\\') + 1;
+ if(strrchr(p, '/') != NULL)
+ p = strrchr(p, '/') + 1;
gtk_tree_store_set(srchmodel, &piter, 3, p, -1);
free(buf);
}
gtk_tree_store_set(srchmodel, &piter, 3, p, -1);
free(buf);
}