diff options
author | Richard Grenville <[email protected]> | 2013-05-09 21:47:09 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-05-09 21:47:09 +0800 |
commit | 060b5ab23c3fb18a8695e8f7e5d145f023b7b3b2 (patch) | |
tree | 17185f496b1c588ce674311f316519d91d3e6793 /compton.h | |
parent | a09589b2adb8c0bab7fc6395e1f8084726ddcbc3 (diff) | |
download | tdebase-060b5ab23c3fb18a8695e8f7e5d145f023b7b3b2.tar.gz tdebase-060b5ab23c3fb18a8695e8f7e5d145f023b7b3b2.zip |
Bug fix: Compilation failure with NO_LIBCONFIG / NO_C2
- Fix compilation failure with NO_LIBCONFIG or NO_C2. Thanks to
Spaulding for reporting.
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,16 +146,16 @@ free_damage(session_t *ps, Damage *p) { } } -#ifdef CONFIG_C2 /** * Destroy a condition list. */ static inline void free_wincondlst(c2_lptr_t **pcondlst) { +#ifdef CONFIG_C2 while ((*pcondlst = c2_free_lptr(*pcondlst))) continue; -} #endif +} /** * Check whether a paint_t contains enough data. |