wrong check fixed
This commit is contained in:
parent
51a7e4e589
commit
b6032f007c
|
@ -679,7 +679,7 @@ QskGradientStops QskGradient::colorStops(
|
|||
if ( count == 0 )
|
||||
return QskGradientStops();
|
||||
|
||||
if ( count == 0 )
|
||||
if ( count == 1 )
|
||||
{
|
||||
QskGradientStops stops;
|
||||
stops.reserve( 2 );
|
||||
|
|
Loading…
Reference in New Issue