From 699f786cd5360ce851a0542c218f0d9cb919d608 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 10 Mar 2014 11:06:07 -0400 Subject: Fixed compiler errors in the previous few commits. --- sysdata_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdata_windows.go') diff --git a/sysdata_windows.go b/sysdata_windows.go index f67b7e1..62c5788 100644 --- a/sysdata_windows.go +++ b/sysdata_windows.go @@ -254,7 +254,7 @@ func (s *sysData) setText(text string) { } r := <-ret if r.ret == 0 { // failure - panic(fmt.Errorf("error setting window/control text: %v", err)) + panic(fmt.Errorf("error setting window/control text: %v", r.err)) } } -- cgit v1.2.3