summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-24 17:28:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-24 18:38:11 +0000
commit6a37123f49d75e886786ccdd1ceb5b2e30173372 (patch)
tree5b303cc9093fae82f01acbf512470946456b643f /vcl
parentefe28833d484e6c59ce928e4218a07752262c5e9 (diff)
32 times larger than necessary
bit/byte thinko I imagine Change-Id: I85ef6de4a4e6cffcd9c593eb15da692a2617736e
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 812ff5053a11..ebc038ccb123 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -3424,7 +3424,7 @@ void GtkSalFrame::renderArea( cairo_t *cr, cairo_rectangle_t *area )
cairo_save( cr );
int cairo_stride = cairo_format_stride_for_width (CAIRO_FORMAT_ARGB32, area->width);
- unsigned char *p, *src, *mem = (unsigned char *)malloc (32 * cairo_stride * area->height);
+ unsigned char *p, *src, *mem = (unsigned char *)malloc (cairo_stride * area->height);
p = mem;
src = data.get();
src += (int)ay * nStride + (int)ax * 3;