summaryrefslogtreecommitdiff
path: root/init_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-24 13:22:59 -0500
committerPietro Gagliardi <[email protected]>2014-02-24 13:22:59 -0500
commit165308b81973d90d023da5254e92c6fa7ae386eb (patch)
treec7b728d2791075cd715ccbeca4dedf47ad067394 /init_windows.go
parent1d9a8834311ffc00bbd6dab1ee64f53f9e634db7 (diff)
Added Windows preferred size code. It doesn't work right now; both GetDC() and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included).
Diffstat (limited to 'init_windows.go')
-rw-r--r--init_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/init_windows.go b/init_windows.go
index 5280742..eaf4816 100644
--- a/init_windows.go
+++ b/init_windows.go
@@ -66,9 +66,9 @@ func doWindowsInit() (err error) {
if err != nil {
return fmt.Errorf("error initializing standard window class auxiliary info: %v", err)
}
- err = getStandardWindowsFonts()
+ err = getStandardWindowFonts()
if err != nil {
- return fmt.Errorf("error getting standard Windows fonts: %v", err)
+ return fmt.Errorf("error getting standard window fonts: %v", err)
}
// TODO others
return nil // all ready to go