[cstdstring] demise Format, replacing with StringUtils::Format
[vuplus_xbmc] / xbmc / windowing / X11 / WinSystemX11GLES.cpp
index 777fc0c..3d82fbf 100644 (file)
@@ -31,6 +31,7 @@
 #include "guilib/GraphicContext.h"
 #include "guilib/Texture.h"
 #include "windowing/X11/XRandR.h"
+#include "utils/StringUtils.h"
 #include <vector>
 
 using namespace std;
@@ -304,7 +305,7 @@ void CWinSystemX11GLES::UpdateResolutions()
 
       CLog::Log(LOGINFO, "Pixel Ratio: %f", res.fPixelRatio);
 
-      res.strMode.Format("%s: %s @ %.2fHz", out.name.c_str(), mode.name.c_str(), mode.hz);
+      res.strMode      = StringUtils::Format("%s: %s @ %.2fHz", out.name.c_str(), mode.name.c_str(), mode.hz);
       res.strOutput    = out.name;
       res.strId        = mode.id;
       res.iSubtitles   = (int)(0.95*mode.h);