summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-04 02:29:16 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-05-04 02:29:16 -0500
commit8a4eacb6185de3653f6ae401c352aef833a9e72a (patch)
tree4c2f3ed3d149a42025bfe2baa10ada39d0e621c5 /src/3rdparty
parent7446fdb128feb8d941e148f4de341a44256045ef (diff)
downloadtqt3-8a4eacb6185de3653f6ae401c352aef833a9e72a.tar.gz
tqt3-8a4eacb6185de3653f6ae401c352aef833a9e72a.zip
Fix incorrect renaming of RETQUEST
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/libmng/libmng_read.c8
-rw-r--r--src/3rdparty/libmng/libmng_types.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/libmng/libmng_read.c b/src/3rdparty/libmng/libmng_read.c
index 778e5d0ad..d93da7a19 100644
--- a/src/3rdparty/libmng/libmng_read.c
+++ b/src/3rdparty/libmng/libmng_read.c
@@ -183,7 +183,7 @@ mng_retcode read_databuffer (mng_datap pData,
{ /* not enough space left in buffer ? */
if (pData->iSuspendbufsize - pData->iSuspendbufleft -
(mng_uint32)(pData->pSuspendbufnext - pData->pSuspendbuf) <
- MNG_SUSPENDRETQUESTSIZE)
+ MNG_SUSPENDREQUESTSIZE)
{
if (pData->iSuspendbufleft) /* then lets shift (if there's anything left) */
MNG_COPY (pData->pSuspendbuf, pData->pSuspendbufnext, pData->iSuspendbufleft)
@@ -191,12 +191,12 @@ mng_retcode read_databuffer (mng_datap pData,
pData->pSuspendbufnext = pData->pSuspendbuf;
}
/* still not enough room ? */
- if (pData->iSuspendbufsize - pData->iSuspendbufleft < MNG_SUSPENDRETQUESTSIZE)
+ if (pData->iSuspendbufsize - pData->iSuspendbufleft < MNG_SUSPENDREQUESTSIZE)
MNG_ERROR (pData, MNG_INTERNALERROR)
/* now read some more data */
pTemp = pData->pSuspendbufnext + pData->iSuspendbufleft;
- if (!pData->fReaddata (((mng_handle)pData), pTemp, MNG_SUSPENDRETQUESTSIZE, &iTemp))
+ if (!pData->fReaddata (((mng_handle)pData), pTemp, MNG_SUSPENDREQUESTSIZE, &iTemp))
MNG_ERROR (pData, MNG_APPIOERROR);
/* adjust fill-counter */
pData->iSuspendbufleft += iTemp;
@@ -217,7 +217,7 @@ mng_retcode read_databuffer (mng_datap pData,
}
else
{ /* suspension required ? */
- if ((iSize > pData->iSuspendbufleft) && (iTemp < MNG_SUSPENDRETQUESTSIZE))
+ if ((iSize > pData->iSuspendbufleft) && (iTemp < MNG_SUSPENDREQUESTSIZE))
pData->bSuspended = MNG_TRUE;
}
diff --git a/src/3rdparty/libmng/libmng_types.h b/src/3rdparty/libmng/libmng_types.h
index aa346d300..a5bd852b1 100644
--- a/src/3rdparty/libmng/libmng_types.h
+++ b/src/3rdparty/libmng/libmng_types.h
@@ -310,7 +310,7 @@ typedef mng_uint32 mng_uint32arr2[2];
#define MNG_NULL 0
#define MNG_SUSPENDBUFFERSIZE 32768
-#define MNG_SUSPENDRETQUESTSIZE 1024
+#define MNG_SUSPENDREQUESTSIZE 1024
/* ************************************************************************** */