diff options
Diffstat (limited to 'core/fxge/dib/cstretchengine.cpp')
-rw-r--r-- | core/fxge/dib/cstretchengine.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxge/dib/cstretchengine.cpp b/core/fxge/dib/cstretchengine.cpp index 0025331486..9fdaa02f95 100644 --- a/core/fxge/dib/cstretchengine.cpp +++ b/core/fxge/dib/cstretchengine.cpp @@ -357,9 +357,9 @@ CStretchEngine::~CStretchEngine() { bool CStretchEngine::Continue(IFX_Pause* pPause) { while (m_State == 1) { - if (ContinueStretchHorz(pPause)) { + if (ContinueStretchHorz(pPause)) return true; - } + m_State = 2; StretchVert(); } @@ -401,7 +401,6 @@ bool CStretchEngine::StartStretchHorz() { bool CStretchEngine::ContinueStretchHorz(IFX_Pause* pPause) { if (!m_DestWidth) return false; - if (m_pSource->SkipToScanline(m_CurRow, pPause)) return true; |