From 6097320dfe3bc1d25f43493ff5bf49cdae73c009 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 22 May 2013 13:41:33 +0100 Subject: [PATCH] Fix typo: "size", not "ap->size" Copied from Perforce Change: 182074 ServerID: perforce.ravenbrook.com --- mps/manual/source/topic/allocation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mps/manual/source/topic/allocation.rst b/mps/manual/source/topic/allocation.rst index 512935c3765..d6d488e70dc 100644 --- a/mps/manual/source/topic/allocation.rst +++ b/mps/manual/source/topic/allocation.rst @@ -576,7 +576,7 @@ as refilling the buffer. The *reserve* operation thus looks like this:: if (ap->alloc + size <= ap->limit) { - ap->alloc += ap->size; + ap->alloc += size; p = ap->init; } else { res = mps_ap_fill(&p, ap, size);