From 788118131e193702b7de9340bfd2cad99a00435a Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Sun, 29 Dec 2019 16:28:21 +0300 Subject: [PATCH] Fix credits not showing in main menu (#36528) --- src/main_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_menu.cpp b/src/main_menu.cpp index 6af443daafeec..f398b07f228bd 100644 --- a/src/main_menu.cpp +++ b/src/main_menu.cpp @@ -302,7 +302,7 @@ void main_menu::init_strings() std::string line; while( std::getline( stream, line ) ) { if( line[0] != '#' ) { - mmenu_credits + ( line.empty() ? " " : line ) + "\n"; + mmenu_credits += ( line.empty() ? " " : line ) + "\n"; } } } );