mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/packing: fix the comment
This commit is contained in:
parent
9e0bebda71
commit
f53327a57b
@ -287,7 +287,7 @@ func (p *Page) Extend(count int) bool {
|
|||||||
p.rollbackExtension = func() {
|
p.rollbackExtension = func() {
|
||||||
p.size = origSize
|
p.size = origSize
|
||||||
// The node address must not be changed, so use the original root node's pointer (#2584).
|
// The node address must not be changed, so use the original root node's pointer (#2584).
|
||||||
// As the root node might be modified, recover the content from the cloned content.
|
// As the root node might be modified, restore the content by the cloned content.
|
||||||
p.root = origRoot
|
p.root = origRoot
|
||||||
*p.root = origRootCloned
|
*p.root = origRootCloned
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user