now correctly fix the compile error for MS C++

This commit is contained in:
Gunter Labes 2007-10-31 08:54:13 +00:00
parent 75b3c0b62c
commit 14f62bb39b

View file

@ -365,7 +365,7 @@ void gamemap::read(const std::string& data, const tborder border_tiles, const tu
throw incorrect_format_exception(msg.c_str());
}
map = std::string(data, 0, header_offset + 2);
map = std::string(data, header_offset + 2, std::string::npos);
}
try {