Skip to content

Commit

Permalink
FIX: display Unicode characters in Mingw again
Browse files Browse the repository at this point in the history
git-svn-id: svn://tron.homeunix.org/simutrans/simutrans/trunk@8173 8aca7d54-2c30-db11-9de9-000461428c89
  • Loading branch information
prissi committed Apr 3, 2017
1 parent 648459c commit d53a671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/searchfolder.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <string>
#include <string.h>

#ifndef _MSC_VER
#ifndef _WIN32
#include <dirent.h>
#else
#define NOMINMAX
Expand Down Expand Up @@ -95,7 +95,7 @@ int searchfolder_t::search_path(const std::string &filepath, const std::string &
path = path.substr(0, slash + 1);
}
}
#ifdef _MSC_VER
#ifdef _WIN32
lookfor = path + name + ext;
struct _wfinddata_t entry;
WCHAR path_inW[1024];
Expand Down

0 comments on commit d53a671

Please sign in to comment.