From 7ae8234630b431b80c6d67f5bcff853ef405a78e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Aug 2000 00:16:54 +0000 Subject: [PATCH] unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/dialup.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index f64e45fd90..ac03724f84 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -709,15 +709,15 @@ wxDialUpManagerImpl::CheckIfconfig() #if defined(__SOLARIS__) || defined (__SUNOS__) // dialup device under SunOS/Solaris - hasModem = strstr(output,"ipdptp") != (char *)NULL; - hasLAN = strstr(output, "hme") != (char *)NULL; + hasModem = wxStrstr(output, _T("ipdptp")) != NULL; + hasLAN = wxStrstr(output, _T("hme")) != NULL; #elif defined(__LINUX__) || defined (__FREEBSD__) - hasModem = strstr(output,"ppp") // ppp - || strstr(output,"sl") // slip - || strstr(output,"pl"); // plip - hasLAN = strstr(output, "eth") != NULL; + hasModem = wxStrstr(output, _T("ppp")) // ppp + || wxStrstr(output, _T("sl")) // slip + || wxStrstr(output, _T("pl")); // plip + hasLAN = wxStrstr(output, _T("eth")) != NULL; #elif defined(__SGI__) // IRIX - hasModem = strstr(output, "ppp") != NULL; // PPP + hasModem = wxStrstr(output, _T("ppp")) != NULL; // PPP #elif defined(__HPUX__) // if could run ifconfig on interface, then it exists hasModem = TRUE;