fixed another throw statement

This commit is contained in:
muebau 2024-05-26 22:08:01 +02:00
parent 97e4eec5be
commit 46f6a257d0

View File

@ -117,7 +117,7 @@ public:
{ {
if (width > 32) if (width > 32)
{ {
throw std::invalid_argument("maximal width is 32"); width = 32;
} }
pixels.clear(); pixels.clear();