mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix creating a theme from a default one.
Regression was introduced in 79cc797aff.
This commit is contained in:
@@ -164,6 +164,7 @@ bool isValidColorValue(QLatin1String value) {
|
||||
skipWhitespacesAndComments(data, end);
|
||||
if (data == end) break;
|
||||
|
||||
[[maybe_unused]] auto foundName = base::parse::readName(data, end);
|
||||
skipWhitespacesAndComments(data, end);
|
||||
if (data == end || *data != ':') {
|
||||
return "error";
|
||||
|
||||
Reference in New Issue
Block a user