bugfix in parsecolor

This commit is contained in:
Zeno Rogue
2024-05-27 14:20:53 +02:00
parent e5e89c4800
commit 6ca2051c96
+1 -1
View File
@@ -610,7 +610,7 @@ EX transmatrix parsematrix(const string& s) {
EX color_t parsecolor(const string& s, bool has_alpha) {
exp_parser ep;
ep.s = s;
auto col = ep.parsecolor(has_alpha);
auto col = ep.parsecolor();
if(!has_alpha) col >>= 8;
return col;
}