applied changes from 0.3pre6 (patch from rev40 to rev49)
git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@79 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -60,7 +60,7 @@ bool CParser::loadParseFile(void) // Open, read the list and close the file
|
||||
while(!feof(fp))
|
||||
{
|
||||
line = (char*) calloc(256,sizeof(char));
|
||||
fgets(line,256,fp);
|
||||
fgets(line,256,fp); // No return value assigned. Be careful!
|
||||
//fscanf(fp,"%s\n",line);
|
||||
m_filebuffer.push_back(line);
|
||||
m_isOpen = true;
|
||||
|
||||
Reference in New Issue
Block a user