]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix for wxStrlcpy use in STL Unicode build
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Dec 2008 22:24:18 +0000 (22:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Dec 2008 22:24:18 +0000 (22:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index dc2a79628fbfe1a5e04adc740de8a19a93f47597..43826ac40f3c51375ed4de09649459cef5e9b187 100644 (file)
@@ -436,7 +436,7 @@ bool wxGetEmailAddress(wxChar *address, int maxSize)
     if ( !email )
         return false;
 
-    wxStrlcpy(address, email, maxSize);
+    wxStrlcpy(address, email.t_str(), maxSize);
 
     return true;
 }