wrong check fixed

This commit is contained in:
Uwe Rathmann 2022-10-15 13:24:58 +02:00
parent 51a7e4e589
commit b6032f007c
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ QskGradientStops QskGradient::colorStops(
if ( count == 0 ) if ( count == 0 )
return QskGradientStops(); return QskGradientStops();
if ( count == 0 ) if ( count == 1 )
{ {
QskGradientStops stops; QskGradientStops stops;
stops.reserve( 2 ); stops.reserve( 2 );