CFrameBuffer::getIconSize check if pic is icon

This commit is contained in:
Jacek Jendrzej
2016-02-15 21:30:13 +01:00
parent 78f541aa84
commit 90a3cecb06

View File

@@ -1020,6 +1020,10 @@ void CFrameBuffer::getIconSize(const char * const filename, int* width, int *hei
if(filename == NULL)
return;
//check for full path, icon don't have full path, or ?
if (filename[0]== '/'){
return;
}
std::map<std::string, rawIcon>::iterator it;