From a5ff52d7c04192c2968cf16cc416b23dad30c237 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sat, 7 Sep 2024 21:13:13 +0200 Subject: [PATCH] [sdl2] update manpage and printed config --- dist/x48ng.man.1 | 4 +++- src/config.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/x48ng.man.1 b/dist/x48ng.man.1 index 467278f..8839fde 100644 --- a/dist/x48ng.man.1 +++ b/dist/x48ng.man.1 @@ -77,7 +77,9 @@ where options include (depending on compiled front-ends): .br \-\-x11 use X11 front-end (default: true) .br - \-\-sdl use SDL front-end (default: false) + \-\-sdl2 use SDL2 front-end (default: false) +.br + \-\-sdl use SDL front-end (DEPRECATED) (default: false) .br \-\-tui use terminal front-end (default: false) .br diff --git a/src/config.c b/src/config.c index 88c6567..3e2da7e 100644 --- a/src/config.c +++ b/src/config.c @@ -712,7 +712,7 @@ int config_init( int argc, char* argv[] ) fprintf( stdout, "tui" ); break; } - fprintf( stdout, "\" -- possible values: \"x11\", \"sdl\", \"tui\", \"tui-small\", \"tui-tiny\"\n" ); + fprintf( stdout, "\" -- possible values: \"x11\", \"sdl2\", \"sdl\" (deprecated), \"tui\", \"tui-small\", \"tui-tiny\"\n" ); fprintf( stdout, "hide_chrome = %s\n", config.hide_chrome ? "true" : "false" ); fprintf( stdout, "fullscreen = %s\n", config.show_ui_fullscreen ? "true" : "false" ); fprintf( stdout, "mono = %s\n", config.mono ? "true" : "false" );