From 48fb710f357a363cce043a9f546e8a4aff196786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 8 Sep 2018 19:39:28 +0200 Subject: 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. --- nexgb/conn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nexgb/conn.go') 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) } -- cgit v1.2.3