Subversion Repositories spk

Rev

Rev 1 | Rev 42 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 33
Line 458... Line 458...
458
			sLine[pos++] = cur;
458
			sLine[pos++] = cur;
459
		}
459
		}
460
	}
460
	}
461
	else
461
	else
462
	{
462
	{
463
		while ( !m_fId.eof() )
-
 
464
		{
-
 
465
			cur = m_fId.get();
-
 
466
			if ( cur == '\n' || cur == '\r' )
-
 
467
				break;
-
 
468
			sLine[pos++] = cur;
-
 
469
		}
-
 
470
	//	m_fId.getline(sLine, 255, '\n');
-
 
471
 
-
 
472
 
-
 
473
		std::string line;
463
		std::string line;
474
		if ( getline(m_fId, line, '\n') )
464
		if ( getline(m_fId, line, '\n') )
475
			return CyString(line);
465
			return CyString(line);
476
	}
466
	}
477
 
467