app: fix gimp_brush_mipmap_get_memsize()

Don't include the main mask/pixmap buffer size -- it's already
counted in gimp_brush_get_memsize().
This commit is contained in:
Ell 2020-02-13 16:53:03 +02:00
parent f09e940cac
commit 30e925065f
1 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ gimp_brush_mipmap_get_memsize (GimpBrush *brush)
{
gint i;
for (i = 0;
for (i = 1;
i < brush->priv->n_horz_mipmaps * brush->priv->n_vert_mipmaps;
i++)
{
@ -495,7 +495,7 @@ gimp_brush_mipmap_get_memsize (GimpBrush *brush)
{
gint i;
for (i = 0;
for (i = 1;
i < brush->priv->n_horz_mipmaps * brush->priv->n_vert_mipmaps;
i++)
{