From b0cb2f13b99fd80ab8b0e3d4625cdebaf55c1b90 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Mon, 20 Nov 2017 01:36:52 +0100 Subject: [PATCH] don't use windowed as default --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index f73b4df..39150e9 100644 --- a/src/main.c +++ b/src/main.c @@ -872,12 +872,12 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk FILE *fh = fopen(SettingsIniPath, "w"); fputs( "[ddraw]\n" - "; width and height of the window, defaults to the size game requests\r\n" + "; width and height of the window, defaults to the size game requests\n" "width=0\n" "height=0\n" "; bits per pixel, possible values: 16, 24 and 32, 0 = auto\n" "bpp=0\n" - "windowed=true\n" + "windowed=false\n" "; show window borders in windowed mode\n" "border=true\n" "; use letter- or windowboxing to make a best fit (GDI only!)\n" @@ -921,7 +921,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk This->opengl_pbo = TRUE; } - GetPrivateProfileStringA("ddraw", "windowed", "TRUE", tmp, sizeof(tmp), SettingsIniPath); + GetPrivateProfileStringA("ddraw", "windowed", "FALSE", tmp, sizeof(tmp), SettingsIniPath); if (tolower(tmp[0]) == 'n' || tolower(tmp[0]) == 'f' || tolower(tmp[0]) == 'd' || tmp[0] == '0') { This->windowed = FALSE;