app: in gimpbrushcore-loops, fix memory corruption in clear_edges()

s/width/height/

Fixes commit 9d19e804ed.
This commit is contained in:
Ell 2019-02-13 12:32:03 -05:00
parent c7d5438b49
commit 72d4977574
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ clear_edges (GimpTempBuf *buf,
guchar *data;
const Babl *format = gimp_temp_buf_get_format (buf);
gint bpp = babl_format_get_bytes_per_pixel (format);
gint width = gimp_temp_buf_get_width (buf);
gint height = gimp_temp_buf_get_width (buf);
gint width = gimp_temp_buf_get_width (buf);
gint height = gimp_temp_buf_get_height (buf);
if (top + bottom >= height || left + right >= width)
{