]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix unicode build on UNIX operating systems
authorAlex Bligh <alex@alex.org.uk>
Mon, 14 Aug 2006 21:58:38 +0000 (21:58 +0000)
committerAlex Bligh <alex@alex.org.uk>
Mon, 14 Aug 2006 21:58:38 +0000 (21:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index d5b98d59affca7e9745e1f87a5b9241813b60bfe..b26b8df3f5671750ed99d859f1912ab09488bdbd 100644 (file)
@@ -913,7 +913,7 @@ wxOperatingSystemId wxGetOsVersion(int *verMaj, int *verMin)
     // get OS version
     int major, minor;
     wxString release = wxGetCommandOutput(wxT("uname -r"));
-    if ( !release.empty() && wxSscanf(release, "%d.%d", &major, &minor) != 2 )
+    if ( !release.empty() && wxSscanf(release, wxT("%d.%d"), &major, &minor) != 2 )
     {
         // unrecognized uname string format
         major =