aboutsummaryrefslogtreecommitdiff
path: root/nexgb/conn.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/conn.go')
-rw-r--r--nexgb/conn.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexgb/conn.go b/nexgb/conn.go
index 1b7d838..f9dfeec 100644
--- a/nexgb/conn.go
+++ b/nexgb/conn.go
@@ -1,4 +1,4 @@
-package xgb
+package nexgb
/*
conn.go contains a couple of functions that do some real dirty work related
@@ -138,7 +138,7 @@ func (c *Conn) dial(display string) error {
}
}
- display = display[colonIdx+1 : len(display)]
+ display = display[colonIdx+1:]
if len(display) == 0 {
return errors.New("bad display string: " + display0)
}