kopia lustrzana https://github.com/Aircoookie/WLED
fixed another throw statement
rodzic
97e4eec5be
commit
46f6a257d0
|
@ -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();
|
||||||
|
|
Ładowanie…
Reference in New Issue