Patch level : 12.00 1312
Files correlati : ba0.exe Commento : I config non salvavano le linee più lunghe di 1024 caratteri ora sono 8192.
This commit is contained in:
parent
640b748e9b
commit
c54babdfb0
@ -120,11 +120,14 @@ void TConfig::_write_file()
|
||||
ifstream in(_file);
|
||||
if (in.good())
|
||||
{
|
||||
TString l(1024);
|
||||
TString l(8192);
|
||||
TString cnf; cnf << '[' << _paragraph << ']';
|
||||
while (!in.eof())
|
||||
{
|
||||
in.getline(l.get_buffer(), l.size());
|
||||
|
||||
if (in.eof())
|
||||
break;
|
||||
l.trim();
|
||||
|
||||
if (cnf == l)
|
||||
|
Loading…
x
Reference in New Issue
Block a user