Fixed "it=it=map.begin()" typo
This was SVN commit r6246.
This commit is contained in:
parent
4e539a652f
commit
6d92213077
@ -328,7 +328,7 @@ bool CConfigDB::WriteFile(EConfigNamespace ns, bool useVFS, const CStr& path)
|
|||||||
shared_ptr<u8> buf = io_Allocate(1*MiB);
|
shared_ptr<u8> buf = io_Allocate(1*MiB);
|
||||||
char* pos = (char*)buf.get();
|
char* pos = (char*)buf.get();
|
||||||
TConfigMap &map=m_Map[ns];
|
TConfigMap &map=m_Map[ns];
|
||||||
for(TConfigMap::const_iterator it = it=map.begin(); it != map.end(); ++it)
|
for(TConfigMap::const_iterator it = map.begin(); it != map.end(); ++it)
|
||||||
{
|
{
|
||||||
pos += sprintf(pos, "%s = \"%s\"\n", it->first.c_str(), it->second[0].m_String.c_str());
|
pos += sprintf(pos, "%s = \"%s\"\n", it->first.c_str(), it->second[0].m_String.c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user