mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
c0fe37ab8e
commit
2b64e30aa2
1 changed files with 4 additions and 7 deletions
|
@ -155,7 +155,6 @@ void CCDBSynchronised::read( const string &fileName )
|
||||||
}
|
}
|
||||||
|
|
||||||
f.close();
|
f.close();
|
||||||
|
|
||||||
} // read //
|
} // read //
|
||||||
|
|
||||||
|
|
||||||
|
@ -168,7 +167,7 @@ void CCDBSynchronised::write( const string &fileName )
|
||||||
{
|
{
|
||||||
bool res = false;
|
bool res = false;
|
||||||
|
|
||||||
if( _Database != 0 )
|
if (_Database != 0)
|
||||||
{
|
{
|
||||||
FILE * f = nlfopen(fileName, "w");
|
FILE * f = nlfopen(fileName, "w");
|
||||||
if (f)
|
if (f)
|
||||||
|
@ -292,11 +291,9 @@ string CCDBSynchronised::getString( uint32 id )
|
||||||
{
|
{
|
||||||
return (*itStr).second;
|
return (*itStr).second;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
nlwarning("<CCDBSynchronised::getString> string with id %d was not found",id);
|
||||||
nlwarning("<CCDBSynchronised::getString> string with id %d was not found",id);
|
return "";
|
||||||
return "";
|
|
||||||
}
|
|
||||||
} // getString //
|
} // getString //
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue