mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Version for OS X 10.6-10.7 build from GYP is ready, not tested yet.
This commit is contained in:
@@ -664,7 +664,7 @@ bool Generator::writeIconValues() {
|
||||
if (maskData.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
source_->stream() << "const uchar iconMask" << i.value() << "Data[] = " << stringToBinaryArray(maskData.toStdString()) << ";\n";
|
||||
source_->stream() << "const uchar iconMask" << i.value() << "Data[] = " << stringToBinaryArray(std::string(maskData.constData(), maskData.size())) << ";\n";
|
||||
source_->stream() << "IconMask iconMask" << i.value() << "(iconMask" << i.value() << "Data);\n\n";
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user