mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CFrameBuffer::getIconSize check if pic is icon
Origin commit data
------------------
Branch: ni/coolstream
Commit: 90a3cecb06
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-15 (Mon, 15 Feb 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1020,6 +1020,10 @@ void CFrameBuffer::getIconSize(const char * const filename, int* width, int *hei
|
|||||||
|
|
||||||
if(filename == NULL)
|
if(filename == NULL)
|
||||||
return;
|
return;
|
||||||
|
//check for full path, icon don't have full path, or ?
|
||||||
|
if (filename[0]== '/'){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
std::map<std::string, rawIcon>::iterator it;
|
std::map<std::string, rawIcon>::iterator it;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user