Added updateCallbackSizes().

committer: mfx <mfx> 976882889 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-15 12:21:29 +00:00
parent 566e6ba977
commit 4257e0e9ba
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -356,6 +356,8 @@ void UiPacker::doCallback(unsigned isize, unsigned osize)
if (s->pass < 0) // no callback wanted
return;
p->updateCallbackSizes(&isize, &osize);
if (s->u_len == 0 || isize > s->u_len)
return;
// check if we should update the display