#include "network/ZeroconfBrowser.h"
#include "GUIUserMessages.h"
#include "utils/CharsetConverter.h"
+#include "utils/StringUtils.h"
#ifdef TARGET_WINDOWS
// optical medium
if (lpdbv -> dbcv_flags & DBTF_MEDIA)
{
- CStdString strdrive;
- strdrive.Format("%c:\\", CWIN32Util::FirstDriveFromMask(lpdbv ->dbcv_unitmask));
+ CStdString strdrive = StringUtils::Format("%c:\\", CWIN32Util::FirstDriveFromMask(lpdbv ->dbcv_unitmask));
if(wParam == DBT_DEVICEARRIVAL)
{
CLog::Log(LOGDEBUG, __FUNCTION__": Drive %s Media has arrived.", strdrive.c_str());