Author: Rhonda D'Vine <rhonda@debian.org>	vim:ft=diff:
Description: Search for wesnothd-1.18 instead of plain wesnothd
Forwarded: not-needed

--- a/src/game_launcher.cpp
+++ b/src/game_launcher.cpp
@@ -828,7 +828,7 @@ bool game_launcher::goto_editor()
 void game_launcher::start_wesnothd()
 {
 	std::string wesnothd_program = preferences::get_mp_server_program_name().empty()
-		? filesystem::get_exe_dir() + "/" + filesystem::get_program_invocation("wesnothd")
+		? filesystem::get_exe_dir() + "/" + filesystem::get_program_invocation("wesnothd-1.18")
 		: preferences::get_mp_server_program_name();
 
 	std::string config = filesystem::get_user_config_dir() + "/lan_server.cfg";
@@ -837,7 +837,7 @@ void game_launcher::start_wesnothd()
 		filesystem::write_file(config, filesystem::read_file(filesystem::get_wml_location("lan_server.cfg")));
 	}
 
-	LOG_GENERAL << "Starting wesnothd";
+	LOG_GENERAL << "Starting wesnothd-1.18";
 	try
 	{
 #ifndef _WIN32
--- a/src/preferences/display.cpp
+++ b/src/preferences/display.cpp
@@ -99,7 +99,7 @@ bool show_theme_dialog()
 void show_wesnothd_server_search()
 {
 #ifndef _WIN32
-	const std::string filename = "wesnothd";
+	const std::string filename = "wesnothd-1.18";
 #else // _WIN32
 	const std::string filename = "wesnothd.exe";
 #endif
