Jeck - And this is why I shouldn't code at 3 AM. Fix to r1152, which potentially closed a non-existent file descriptor. Not a major bug, but it's better to do it this way.
This commit is contained in:
@@ -686,8 +686,8 @@ void OptionTheme::Render(){
|
|||||||
if(isprint(temp[x])) //Clear stuff that breaks mFont->DrawString, cuts to 16 chars.
|
if(isprint(temp[x])) //Clear stuff that breaks mFont->DrawString, cuts to 16 chars.
|
||||||
author += temp[x];
|
author += temp[x];
|
||||||
}
|
}
|
||||||
|
file.close();
|
||||||
}
|
}
|
||||||
file.close();
|
|
||||||
}
|
}
|
||||||
sprintf(buf,"Theme: %s",selections[value].c_str());
|
sprintf(buf,"Theme: %s",selections[value].c_str());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user