From fa4e8c28de76d27486bdaae5c1e7d0cf79a7b806 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Tue, 17 Mar 2020 22:55:03 +0100 Subject: [PATCH] Update description of sdl.windowresolution --- src/gui/sdlmain.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 61a5b696..5471da00 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -2340,7 +2340,8 @@ void Config_Add_SDL() { Prop_int* Pint; Prop_multival* Pmulti; Section_prop* Psection; - const Property::Changeable::Value always = Property::Changeable::Always; + + constexpr auto always = Property::Changeable::Always; Pbool = sdl_sec->Add_bool("fullscreen",Property::Changeable::Always,false); Pbool->Set_help("Start dosbox directly in fullscreen. (Press ALT-Enter to go back)"); @@ -2353,9 +2354,10 @@ void Config_Add_SDL() { Pstring->Set_help("What resolution to use for fullscreen: 'original', 'desktop' or\n" "a fixed size (e.g. 1024x768)."); - Pstring = sdl_sec->Add_string("windowresolution",Property::Changeable::Always,"original"); - Pstring->Set_help("Scale the window to this size IF the output device supports hardware scaling.\n" - "(output=surface does not!)"); + Pstring = sdl_sec->Add_string("windowresolution", always, "original"); + Pstring->Set_help("Scale the window to this size. Value 'original' will resize\n" + "window to the resolution picked by the emulated program.\n" + "Not supported when 'output' is set to 'surface'."); const char *outputs[] = { "surface",