X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c655557fa685eb0201d5d45078a1f46370240592..8444b6cb6ba008f0b1c85dc7d4db5f65d0938448:/src/unix/utilsunx.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index d5b98d59af..b26b8df3f5 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -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 =