More go fmt.

This commit is contained in:
Pietro Gagliardi 2014-06-10 10:14:35 -04:00
parent 43b3f1c2a8
commit 94f9684e68
1 changed files with 178 additions and 178 deletions

View File

@ -4,9 +4,9 @@ package ui
import ( import (
"fmt" "fmt"
"sync"
"syscall" "syscall"
"unsafe" "unsafe"
"sync"
) )
type sysData struct { type sysData struct {
@ -627,7 +627,7 @@ func (s *sysData) setProgress(percent int) {
if percent == 100 { if percent == 100 {
send(_PBM_SETRANGE32, 0, 101) send(_PBM_SETRANGE32, 0, 101)
} }
send(_PBM_SETPOS, percent + 1, 0) send(_PBM_SETPOS, percent+1, 0)
send(_PBM_SETPOS, percent, 0) send(_PBM_SETPOS, percent, 0)
if percent == 100 { if percent == 100 {
send(_PBM_SETRANGE32, 0, 100) send(_PBM_SETRANGE32, 0, 100)