mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fix crashes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@995 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: ff7d5c50cf
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-01-03 (Mon, 03 Jan 2011)
Origin message was:
------------------
-fix crashes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@995 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -841,11 +841,15 @@ void CFrameBuffer::setIconBasePath(const std::string & iconPath)
|
||||
|
||||
void CFrameBuffer::getIconSize(const char * const filename, int* width, int *height)
|
||||
{
|
||||
std::map<std::string, rawIcon>::iterator it;
|
||||
|
||||
*width = 0;
|
||||
*height = 0;
|
||||
|
||||
if(filename == NULL)
|
||||
return;
|
||||
|
||||
std::map<std::string, rawIcon>::iterator it;
|
||||
|
||||
|
||||
/* if code ask for size, lets cache it. assume we have enough ram for cache */
|
||||
/* FIXME offset seems never used in code, always default = 1 ? */
|
||||
|
||||
|
Reference in New Issue
Block a user