mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
fix close & osd
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@846 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -151,6 +151,7 @@ int fh_bmp_load(const char *name,unsigned char **buffer,int* xp,int* yp)
|
|||||||
if(tbuffer==NULL)
|
if(tbuffer==NULL)
|
||||||
{
|
{
|
||||||
printf("Error: malloc\n");
|
printf("Error: malloc\n");
|
||||||
|
close(fd);
|
||||||
return (FH_ERROR_MALLOC);
|
return (FH_ERROR_MALLOC);
|
||||||
}
|
}
|
||||||
unsigned char c1,c2;
|
unsigned char c1,c2;
|
||||||
|
@@ -716,6 +716,9 @@ void EventList::paintItem(unsigned int pos, t_channel_id channel_idI)
|
|||||||
{
|
{
|
||||||
color = COL_MENUCONTENTSELECTED;
|
color = COL_MENUCONTENTSELECTED;
|
||||||
bgcolor = COL_MENUCONTENTSELECTED_PLUS_0;
|
bgcolor = COL_MENUCONTENTSELECTED_PLUS_0;
|
||||||
|
if(RADIUS_LARGE)
|
||||||
|
frameBuffer->paintBoxRel(x, ypos, width- 15, fheight, COL_MENUCONTENT_PLUS_0, 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (liststart+pos == current_event )
|
else if (liststart+pos == current_event )
|
||||||
{
|
{
|
||||||
|
@@ -74,6 +74,7 @@ void CTimerManager::Init(void)
|
|||||||
int ret = ioctl(fd, IOC_VFD_GET_WAKEUP, &wk);
|
int ret = ioctl(fd, IOC_VFD_GET_WAKEUP, &wk);
|
||||||
if(ret >= 0)
|
if(ret >= 0)
|
||||||
wakeup = ((wk.source == WAKEUP_SOURCE_TIMER) /* || (wk.source == WAKEUP_SOURCE_PWLOST)*/);
|
wakeup = ((wk.source == WAKEUP_SOURCE_TIMER) /* || (wk.source == WAKEUP_SOURCE_PWLOST)*/);
|
||||||
|
close(fd);
|
||||||
}
|
}
|
||||||
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
printf("[timerd] wakeup from standby: %s\n", wakeup ? "yes" : "no");
|
||||||
if(wakeup)
|
if(wakeup)
|
||||||
|
Reference in New Issue
Block a user