From 66ff8ad7ec0ae4a326207d58c3a52841b26a49c9 Mon Sep 17 00:00:00 2001 From: Bradley Cicenas Date: Tue, 13 Jun 2017 20:35:00 +0000 Subject: [PATCH] update potentially conflicting variable name --- cursor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cursor.go b/cursor.go index ad8b383..532db74 100644 --- a/cursor.go +++ b/cursor.go @@ -20,9 +20,9 @@ type GridCursor struct { isScrolling bool // toggled when actively scrolling } -func NewGridCursor(connector string) *GridCursor { +func NewGridCursor(connectorName string) *GridCursor { return &GridCursor{ - cSource: enabledConnectors[connector](), + cSource: enabledConnectors[connectorName](), } }