aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.c')
-rw-r--r--common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/util.c b/common/util.c
index d66058a6..27039dcb 100644
--- a/common/util.c
+++ b/common/util.c
@@ -116,7 +116,7 @@ uint32_t parse_color(const char *color) {
116 116
117 int len = strlen(color); 117 int len = strlen(color);
118 if (len != 6 && len != 8) { 118 if (len != 6 && len != 8) {
119 wlr_log(WLR_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color); 119 sway_log(SWAY_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color);
120 return 0xFFFFFFFF; 120 return 0xFFFFFFFF;
121 } 121 }
122 uint32_t res = (uint32_t)strtoul(color, NULL, 16); 122 uint32_t res = (uint32_t)strtoul(color, NULL, 16);
@@ -147,7 +147,7 @@ float parse_float(const char *value) {
147 char *end; 147 char *end;
148 float flt = strtof(value, &end); 148 float flt = strtof(value, &end);
149 if (*end || errno) { 149 if (*end || errno) {
150 wlr_log(WLR_DEBUG, "Invalid float value '%s', defaulting to NAN", value); 150 sway_log(SWAY_DEBUG, "Invalid float value '%s', defaulting to NAN", value);
151 return NAN; 151 return NAN;
152 } 152 }
153 return flt; 153 return flt;