From eb0188a0999b7a7c1746b06a6c22e147cf3f1ac6 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 25 May 2014 11:31:57 -0400 Subject: Changed most instances of var to const in the Windows code. Only one left... --- controls_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controls_windows.go') diff --git a/controls_windows.go b/controls_windows.go index 991e879..86c4eba 100644 --- a/controls_windows.go +++ b/controls_windows.go @@ -179,7 +179,7 @@ const ( ) // Combobox errors. -var ( // var so they can be cast to uintptr +const ( // from winuser.h _CB_ERR = (-1) _CB_ERRSPACE = (-2) @@ -356,7 +356,7 @@ const ( ) // Listbox errors. -var ( // var so they can be cast to uintptr +const ( // from winuser.h _LB_OKAY = 0 _LB_ERR = (-1) -- cgit v1.2.3