summaryrefslogtreecommitdiffstats
path: root/common/util.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-09 16:23:03 -0700
committerLibravatar GitHub <noreply@github.com>2018-07-09 16:23:03 -0700
commitfbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch)
tree76624b3d4820551261e5c15f773c403c1a41264e /common/util.c
parentMerge pull request #2223 from RyanDwyer/floating-move (diff)
parentUpdate for swaywm/wlroots#1126 (diff)
downloadsway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.gz
sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.tar.zst
sway-fbeef1322f5d10c1e2dac0d7de2358a59f442455.zip
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
Diffstat (limited to 'common/util.c')
-rw-r--r--common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.c b/common/util.c
index 678926ed..e8a88772 100644
--- a/common/util.c
+++ b/common/util.c
@@ -113,7 +113,7 @@ uint32_t parse_color(const char *color) {
113 113
114 int len = strlen(color); 114 int len = strlen(color);
115 if (len != 6 && len != 8) { 115 if (len != 6 && len != 8) {
116 wlr_log(L_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color); 116 wlr_log(WLR_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color);
117 return 0xFFFFFFFF; 117 return 0xFFFFFFFF;
118 } 118 }
119 uint32_t res = (uint32_t)strtoul(color, NULL, 16); 119 uint32_t res = (uint32_t)strtoul(color, NULL, 16);