Commit 30e92506 authored by Ell's avatar Ell

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().
parent f09e940c
Pipeline #151793 passed with stages
in 29 minutes and 40 seconds
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment