Skip to content

Commit

Permalink
X11 cleanup: Some more obvious BUILD_X11 -> BUILD_GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuman committed Oct 14, 2022
1 parent 7cfb47b commit 5e7ac5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/conky.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ void draw_stuff();
int percent_print(char *, int, unsigned);
void human_readable(long long, char *, int);

#ifdef BUILD_X11
#ifdef BUILD_GUI

/* UTF-8 */
extern conky::simple_config_setting<bool> utf8_mode;
Expand Down
4 changes: 2 additions & 2 deletions src/scroll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ inline int scroll_character_length(char c) {

return len;
}
#else /* BUILD_X11 */
#else /* BUILD_GUI */
(void)c;
#endif /* BUILD_X11 */
#endif /* BUILD_GUI */

return 1;
}
Expand Down

0 comments on commit 5e7ac5d

Please sign in to comment.