diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
| commit | 50a227058a8d72f1fb885458b882cedb0e0d7f79 (patch) | |
| tree | c68e86810a6036645278b707430532d9f767c7cc /new/init_windows.c | |
| parent | d9315e6d8f528840dd396fbbeb96cb22c8a5df98 (diff) | |
Changed the allocation logging from a compile-time setting to the first initialization option.
Diffstat (limited to 'new/init_windows.c')
| -rw-r--r-- | new/init_windows.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/new/init_windows.c b/new/init_windows.c index 8a0a9ad..172f48a 100644 --- a/new/init_windows.c +++ b/new/init_windows.c @@ -25,6 +25,8 @@ static uiInitError *loadLastError(uiInitError *err, const char *message) return err; } +uiInitOptions options; + uiInitError *uiInit(uiInitOptions *o) { uiInitError *err; @@ -34,6 +36,8 @@ uiInitError *uiInit(uiInitOptions *o) HCURSOR hDefaultCursor; NONCLIENTMETRICSW ncm; + options = *o; + err = uiNew(uiInitError); hInstance = GetModuleHandle(NULL); |
