Revert nonsense change.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29195 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-02-02 22:02:56 +00:00
parent 20bd747635
commit 01c0523e3f

View file

@ -1134,7 +1134,7 @@ int flush;
RESTORE(); RESTORE();
if (state->wsize || (state->mode < CHECK && out != strm->avail_out)) if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
if (updatewindow(strm, out)) { if (updatewindow(strm, out)) {
state->mode = MEMORYSIZE; state->mode = MEM;
return Z_MEM_ERROR; return Z_MEM_ERROR;
} }
in -= strm->avail_in; in -= strm->avail_in;
@ -1190,7 +1190,7 @@ uInt dictLength;
/* copy dictionary to window */ /* copy dictionary to window */
if (updatewindow(strm, strm->avail_out)) { if (updatewindow(strm, strm->avail_out)) {
state->mode = MEMORYSIZE; state->mode = MEM;
return Z_MEM_ERROR; return Z_MEM_ERROR;
} }
if (dictLength > state->wsize) { if (dictLength > state->wsize) {