]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
removed unused variable
[wxWidgets.git] / 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 =