Compare and assign wxChars to wxChar instead char local variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-04 20:09:05 +00:00
parent fe593cc504
commit 53b9981048

View File

@@ -39,7 +39,7 @@ wxString wxFileSystemHandler::GetMimeTypeFromExt(const wxString& location)
{ {
wxString ext, mime; wxString ext, mime;
wxString loc = GetRightLocation(location); wxString loc = GetRightLocation(location);
char c; wxChar c;
int l = loc.Length(), l2; int l = loc.Length(), l2;
l2 = l; l2 = l;
@@ -166,7 +166,7 @@ wxString wxFileSystemHandler::GetRightLocation(const wxString& location) const
wxString wxFileSystemHandler::GetAnchor(const wxString& location) const wxString wxFileSystemHandler::GetAnchor(const wxString& location) const
{ {
char c; wxChar c;
int l = location.Length(); int l = location.Length();
for (int i = l-1; i >= 0; i--) { for (int i = l-1; i >= 0; i--) {
@@ -354,7 +354,7 @@ wxFSFile* wxFileSystem::OpenFile(const wxString& location)
{ {
wxString loc = MakeCorrectPath(location); wxString loc = MakeCorrectPath(location);
unsigned i, ln; unsigned i, ln;
char meta; wxChar meta;
wxFSFile *s = NULL; wxFSFile *s = NULL;
wxList::compatibility_iterator node; wxList::compatibility_iterator node;