mirror of https://github.com/icedream/icecon.git
Fix uintptr type incompatibility with new WALK version.
parent
15c418e9b6
commit
12224a9ae3
|
@ -68,7 +68,7 @@ func runGraphicalUi() (err error) {
|
||||||
|
|
||||||
// Window icon
|
// Window icon
|
||||||
// TODO - Do this more intelligently
|
// TODO - Do this more intelligently
|
||||||
for i := uintptr(0); i < uintptr(128); i++ {
|
for i := 0; i < 128; i++ {
|
||||||
if icon, err := walk.NewIconFromResourceId(i); err == nil {
|
if icon, err := walk.NewIconFromResourceId(i); err == nil {
|
||||||
dlg.SetIcon(icon)
|
dlg.SetIcon(icon)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue