From 7f23ee90fd545995a29e2175f15e8b97e59ca67a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:13:13 +0200 Subject: 3.20 --- RealtimeSync/tray_menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'RealtimeSync/tray_menu.cpp') diff --git a/RealtimeSync/tray_menu.cpp b/RealtimeSync/tray_menu.cpp index e6d5f0d4..98c66cb5 100644 --- a/RealtimeSync/tray_menu.cpp +++ b/RealtimeSync/tray_menu.cpp @@ -3,7 +3,7 @@ // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** -// + #include "tray_menu.h" #include #include @@ -299,8 +299,8 @@ rts::MonitorResponse rts::startDirectoryMonitor(const xmlAccess::XmlRealConfig& if (config.commandline.empty()) { - std::wstring errorMsg = _("Invalid commandline: \"%x\""); - replace(errorMsg, L"%x", config.commandline); + std::wstring errorMsg = _("Invalid commandline: %x"); + replace(errorMsg, L"%x", L"\"" + config.commandline + L"\""); throw FileError(errorMsg); } -- cgit