Removed a leftover crash guard from the Mac OS X sysData code (in this case sysData.preferredSize()).

This commit is contained in:
Pietro Gagliardi 2014-03-03 15:45:26 -05:00
parent 4923f3944c
commit 54a63eb712
1 changed files with 0 additions and 1 deletions

View File

@ -37,6 +37,5 @@ var prefsizefuncs = [nctypes]func(C.id) (int, int){
}
func (s *sysData) preferredSize() (width int, height int) {
if classTypes[s.ctype].make == nil { return 0, 0 } // prevent lockup during window resize
return prefsizefuncs[s.ctype](s.id)
}