diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-01-06 09:31:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 09:31:34 -0500 |
commit | 5a23959242419169fa4af032d85ee3f65e7041e4 (patch) | |
tree | 79386d3d2aa90718f8c071a3337c695cb8a71f78 /common/util.c | |
parent | Merge pull request #1554 from martinetd/cmd_set (diff) | |
parent | common/log: finish removing most log functions (diff) | |
download | sway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.gz sway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.zst sway-5a23959242419169fa4af032d85ee3f65e7041e4.zip |
Merge pull request #1556 from martinetd/cleanup_logging
Cleanup logging
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/util.c b/common/util.c index 83981160..fb7f9454 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 | sway_log(L_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color); | 116 | wlr_log(L_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); |