Реализация фильтров

This commit is contained in:
Евгений Титаренко 2024-04-19 21:17:03 +03:00
parent 24e2cbb354
commit 3fe2a87e35
4 changed files with 109 additions and 58 deletions

View file

@ -49,7 +49,7 @@ Font readPSF(const std::string &filename) {
if (curByte != 0xFF) {
vectorOfBytes.push_back(curByte);
} else {
unsigned long long int bytesCount = vectorOfBytes.size();
auto bytesCount = vectorOfBytes.size();
unsigned char bytes[bytesCount];
for (int i = 0; i < bytesCount; ++i) {
bytes[i] = vectorOfBytes[i];