December 2014 files
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
|
||||
InputStream *InputStream::getResourceAsStream(const wstring &fileName)
|
||||
{
|
||||
return new FileInputStream( File( fileName ) );
|
||||
File file( fileName );
|
||||
|
||||
return file.exists() ? new FileInputStream( file ) : NULL;
|
||||
}
|
||||
Reference in New Issue
Block a user