summaryrefslogtreecommitdiff
path: root/open-terminal
diff options
context:
space:
mode:
Diffstat (limited to 'open-terminal')
-rw-r--r--open-terminal/caja-open-terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c
index a40befc..f6a5d87 100644
--- a/open-terminal/caja-open-terminal.c
+++ b/open-terminal/caja-open-terminal.c
@@ -197,7 +197,7 @@ parse_sftp_uri (GFile *file, char **host, guint *port, char **user,
s = strchr(h, ':');
if (s && (p == NULL || s < p)) {
- h_end = s-1;
+ h_end = s;
*s = '\0';
s++;
} else {