diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-28 14:43:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-28 14:43:34 -0400 |
| commit | 13bcf728baf81705ddd09c72991893bffa34b8ae (patch) | |
| tree | 69f3c01b3b88ea979a4e355d00bfdda25a5590c6 /redo/window_windows.c | |
| parent | bea4df1abf6f4df34016727a300e4826fc31cc05 (diff) | |
Made the previous commit's changes on Windows. If the Stack Overflow question tells me I'm wrong, we can deal with it then. But yay simple sizing code again :D
Diffstat (limited to 'redo/window_windows.c')
| -rw-r--r-- | redo/window_windows.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/window_windows.c b/redo/window_windows.c index 2b1b12d..e848a89 100644 --- a/redo/window_windows.c +++ b/redo/window_windows.c @@ -73,6 +73,7 @@ HWND newWindow(LPCWSTR title, int width, int height, void *data) NULL, NULL, hInstance, data); if (hwnd == NULL) xpanic("Window creation failed", GetLastError()); + calculateBaseUnits(hwnd); return hwnd; } |
