Реализация фильтров
This commit is contained in:
parent
24e2cbb354
commit
3fe2a87e35
4 changed files with 109 additions and 58 deletions
2
psf.cpp
2
psf.cpp
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue