From ce18d07ecf7504f73ea8fff1572e76fbc4a7372a Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Thu, 4 Apr 2024 02:46:52 +0900 Subject: [PATCH] [fixup] code style + comment --- src/config/rcxml.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 86d497ba..3d0e5d7e 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -732,13 +732,14 @@ set_adaptive_sync_mode(const char *str, enum adaptive_sync_mode *variable) static void entry(xmlNode *node, char *nodename, char *content) { - /* current */ + /* current */ static enum font_place font_place = FONT_PLACE_NONE; + /* current */ static enum { - EDGE_TYPE_INTERIOR = 1, - EDGE_TYPE_EXTERIOR = 2, - EDGE_TYPE_BOTH = 1 | 2, + EDGE_TYPE_INTERIOR = (1 << 0), + EDGE_TYPE_EXTERIOR = (1 << 1), + EDGE_TYPE_BOTH = (EDGE_TYPE_INTERIOR | EDGE_TYPE_EXTERIOR), } edge_type = EDGE_TYPE_BOTH; static uint32_t button_map_from;