aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/nxauth/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/nxauth/process.c')
-rw-r--r--nx-X11/programs/nxauth/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/nxauth/process.c b/nx-X11/programs/nxauth/process.c
index 90fb23fc4..57090e23e 100644
--- a/nx-X11/programs/nxauth/process.c
+++ b/nx-X11/programs/nxauth/process.c
@@ -513,7 +513,7 @@ get_displayname_auth(char *displayname, Xauth *auth)
*/
if (strncmp (displayname, "/tmp/launch", 11) == 0)
- displayname = strrchr(displayname, '/') + 1;
+ displayname = strrchr(displayname, ':');
#endif