diff options
author | Přemysl Janouch <p@janouch.name> | 2018-09-08 19:39:28 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-09-08 19:51:53 +0200 |
commit | 48fb710f357a363cce043a9f546e8a4aff196786 (patch) | |
tree | f6d4102339db3776887def299285b29c103bdd94 /nexgb/conn.go | |
parent | 3173202cc1e08762c6e156a8fffd23269a5ddb2b (diff) | |
download | haven-48fb710f357a363cce043a9f546e8a4aff196786.tar.gz haven-48fb710f357a363cce043a9f546e8a4aff196786.tar.xz haven-48fb710f357a363cce043a9f546e8a4aff196786.zip |
nexgb: post-merge fixups and cleanups
AUTHORS, CONTRIBUTORS: still useful, add people from git log, clean up.
LICENSE: Google doesn't really grant you shit anymore. The EU doesn't
have software patents either, so it doesn't affect me directly.
README, doc.go: erase mentions of unmaintained xgbutil.
Diffstat (limited to 'nexgb/conn.go')
-rw-r--r-- | nexgb/conn.go | 4 |
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) } |