Mercurial > mplayer.hg
view loader/debug.h @ 36927:b99b9968056b
Don't unnecessarily call XDefineCursor().
Call it only when freeing the cursor resource, and call it before
freeing the cursor resource then to avoid problems with a defined
cursor which resource has already been freed.
Additionally, use symbolic constant instead of numeric value.
author | ib |
---|---|
date | Wed, 19 Mar 2014 14:07:47 +0000 |
parents | a8ea87c71d18 |
children |
line wrap: on
line source
#ifndef MPLAYER_DEBUG_H #define MPLAYER_DEBUG_H #ifdef DEBUG #define TRACE printf #define dbg_printf printf #else #define TRACE(...) #define dbg_printf(...) #endif #endif /* MPLAYER_DEBUG_H */