diff options
Diffstat (limited to 'frontends/windows/main.c')
-rw-r--r-- | frontends/windows/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/windows/main.c b/frontends/windows/main.c index 7b93c3b63..7c94c0632 100644 --- a/frontends/windows/main.c +++ b/frontends/windows/main.c @@ -303,6 +303,9 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd) die("NetSurf operation table registration failed"); } + /* Save the application-instance handle. */ + hinst = hInstance; + setbuf(stderr, NULL); /* Construct a unix style argc/argv */ |