Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-04 01:51:23 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2021-04-04 01:51:23 +0300
commit37740d9c82ce5a78ebb7c6d487d928a8f55e6c5b (patch)
treefd07fe3c300c2c702803876421c7ddbc28e1b542
parentf758435125677f332d0c458860877959e7adf402 (diff)
fixed typo (changed 'error' to 'err')
-rwxr-xr-xmain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index fc358ac..4c9c9bc 100755
--- a/main.go
+++ b/main.go
@@ -406,7 +406,7 @@ func getRootWindow() (*gdk.Window, error) {
func getDefaultCursor() (*gdk.Cursor, error) {
display, err := gdk.DisplayGetDefault()
if err != nil {
- return nil, error
+ return nil, err
}
// Examples of the different cursors can be found at