diff options
Diffstat (limited to 'engines/touche/resource.cpp')
-rw-r--r-- | engines/touche/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp index bd96793259..db5f7a4d3e 100644 --- a/engines/touche/resource.cpp +++ b/engines/touche/resource.cpp @@ -240,7 +240,7 @@ void ToucheEngine::res_loadProgram(int num) { debugC(9, kDebugResource, "ToucheEngine::res_loadProgram() num=%d", num); const uint32 offs = res_getDataOffset(kResourceTypeProgram, num, &_programDataSize); _fData.seek(offs); - assert(_programDataSize < kMaxProgramDataSize); + assert(_programDataSize <= kMaxProgramDataSize); _fData.read(_programData, _programDataSize); } |