summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/windres.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-03 23:14:21 +0800
committerruki <[email protected]>2019-01-03 13:26:08 +0800
commita86d666ba3095bf9da443e782333b66c3aced59d (patch)
tree331d37cfb3d1bc55e5bf434f00f5fa2789336a83 /xmake/modules/core/tools/windres.lua
parent7da17d16ef3bf08d1b683f95fcec1c6d48ecdee4 (diff)
fix some warning info
Diffstat (limited to 'xmake/modules/core/tools/windres.lua')
-rw-r--r--xmake/modules/core/tools/windres.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/windres.lua b/xmake/modules/core/tools/windres.lua
index fb0c7cda6..313c82bd6 100644
--- a/xmake/modules/core/tools/windres.lua
+++ b/xmake/modules/core/tools/windres.lua
@@ -83,7 +83,7 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags)
-- print some warnings
if warnings and #warnings > 0 and option.get("verbose") then
- cprint("${yellow}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
+ cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
end
end
}