Corrections for future OW 1.4. Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-07-26 09:05:27 +00:00
parent e4592d6028
commit c40158e40b
6 changed files with 106 additions and 92 deletions

View File

@@ -546,7 +546,7 @@ wxChar *wxExpandPath(wxChar *buf, const wxChar *name)
while ((*d++ = *s) != 0) {
# ifndef __WXMSW__
if (*s == wxT('\\')) {
if ((*(d - 1) = *++s)) {
if ((*(d - 1) = *++s)!=0) {
s++;
continue;
} else