-#define APPLY_COLORS(classname) \
- do { \
- if (strcmp(colorclass, #classname) == 0) { \
- if (text != NULL) { \
- /* New syntax: border, background, text */ \
- current_bar.colors. classname ## _border = sstrdup(border); \
- current_bar.colors. classname ## _bg = sstrdup(background); \
- current_bar.colors. classname ## _text = sstrdup(text); \
- } else { \
- /* Old syntax: text, background */ \
- current_bar.colors. classname ## _bg = sstrdup(background); \
- current_bar.colors. classname ## _text = sstrdup(border); \
- } \
- } \
+#define APPLY_COLORS(classname) \
+ do { \
+ if (strcmp(colorclass, #classname) == 0) { \
+ if (text != NULL) { \
+ /* New syntax: border, background, text */ \
+ current_bar.colors.classname##_border = sstrdup(border); \
+ current_bar.colors.classname##_bg = sstrdup(background); \
+ current_bar.colors.classname##_text = sstrdup(text); \
+ } else { \
+ /* Old syntax: text, background */ \
+ current_bar.colors.classname##_bg = sstrdup(background); \
+ current_bar.colors.classname##_text = sstrdup(border); \
+ } \
+ } \