Mercurial > audlegacy-plugins
comparison src/crossfade/cfgutil.c @ 3144:de2f796d6f04
crossfade: fix preprocessor conditional compilation
author | Michal Lipski <tallica@o2.pl> |
---|---|
date | Sat, 09 May 2009 18:06:58 +0200 |
parents | 85b7dcee821f |
children |
comparison
equal
deleted
inserted
replaced
3143:40e5d243971e | 3144:de2f796d6f04 |
---|---|
378 } | 378 } |
379 else | 379 else |
380 DEBUG(("[crossfade] load_config: error loading config, using defaults\n")); | 380 DEBUG(("[crossfade] load_config: error loading config, using defaults\n")); |
381 | 381 |
382 #ifdef PRESET_SUPPORT | 382 #ifdef PRESET_SUPPORT |
383 #ifdef COMPILE_FOR_AUDACIOUS | |
384 filename = g_strconcat(g_get_home_dir(), "/.audacious/crossfade-presets", NULL); | 383 filename = g_strconcat(g_get_home_dir(), "/.audacious/crossfade-presets", NULL); |
385 #else | |
386 filename = g_strconcat(g_get_home_dir(), "/.xmms/crossfade-presets", NULL); | |
387 #endif | |
388 scan_presets(filename); | 384 scan_presets(filename); |
389 g_free(filename); | 385 g_free(filename); |
390 #endif | 386 #endif |
391 } | 387 } |
392 | 388 |