fix the typo.

This commit is contained in:
Aishou 2014-03-01 15:32:15 +01:00
parent fd564159b5
commit d418cceae4

View File

@ -306,7 +306,7 @@ public:
static const wxString& dir_path = "textures";
static const wxString& file_fmt = dir_path + "\\" + "tex[%d].png";
if(!wxDirExists(dir_path)) wxMkDir(dir_path, wxS_DIR_DEFAULT );
if(!wxDirExists(dir_path)) wxMkdir(dir_path);
u32 count = 0;
while(wxFileExists(wxString::Format(file_fmt, count))) count++;