bugfix in parsecolor

This commit is contained in:
Zeno Rogue committed 2024-05-27 14:20:53 +02:00
1 parent e5e89c4800
commit 6ca2051c96
1 file changed
+1 -1
+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;
}