diff options
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index cee1b439..bffff493 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -26234,7 +26234,7 @@ int Abc_CommandAbc9GlaCba( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( 1, "The number of frames should be a positive integer.\n" ); return 0; } - if ( pPars->nStart > 0 && pPars->nStart >= pPars->nFramesMax ) + if ( pPars->nStart > 0 && pPars->nFramesMax > 0 && pPars->nStart >= pPars->nFramesMax ) { Abc_Print( 1, "The starting frame is larger than the max number of frames.\n" ); return 0; |