mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CComponents: use DEBUG_CC for debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7379d6cee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -108,14 +108,15 @@ void CComponents::paintFbItems(bool do_save_bg)
|
|||||||
for(size_t i=0; i< v_fbdata.size() ;i++){
|
for(size_t i=0; i< v_fbdata.size() ;i++){
|
||||||
// Don't paint if dx or dy are 0
|
// Don't paint if dx or dy are 0
|
||||||
if ((v_fbdata[i].dx == 0) || (v_fbdata[i].dy == 0)){
|
if ((v_fbdata[i].dx == 0) || (v_fbdata[i].dy == 0)){
|
||||||
// printf(" [CComponents] WARNING:\n [%s - %d], dx = %d\n dy = %d\n", __FUNCTION__, __LINE__, v_fbdata[i].dx, v_fbdata[i].dy);
|
#ifdef DEBUG_CC
|
||||||
|
printf(" [CComponents] WARNING: [%s - %d], dx = %d dy = %d\n", __FUNCTION__, __LINE__, v_fbdata[i].dx, v_fbdata[i].dy);
|
||||||
|
#endif
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if ((v_fbdata[i].x == 0) || (v_fbdata[i].y == 0)){
|
if ((v_fbdata[i].x == 0) || (v_fbdata[i].y == 0)){
|
||||||
printf(" [CComponents] WARNING:\n [%s - %d], x = %d\n y = %d\n", __FUNCTION__, __LINE__, v_fbdata[i].x, v_fbdata[i].y);
|
printf(" [CComponents] WARNING: [%s - %d], x = %d y = %d\n", __FUNCTION__, __LINE__, v_fbdata[i].x, v_fbdata[i].y);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
int fbtype = v_fbdata[i].fbdata_type;
|
int fbtype = v_fbdata[i].fbdata_type;
|
||||||
#ifdef DEBUG_CC
|
#ifdef DEBUG_CC
|
||||||
|
Reference in New Issue
Block a user