[gimp] app: initialize variable in gimp_histogram_view_update_bins()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: initialize variable in gimp_histogram_view_update_bins()
- Date: Mon, 17 Jun 2013 22:12:06 +0000 (UTC)
commit 94ec249e1e0c2f2454e7c2cc7ad8440c5ea31309
Author: Michael Natterer <mitch gimp org>
Date: Tue Jun 18 00:10:57 2013 +0200
app: initialize variable in gimp_histogram_view_update_bins()
app/widgets/gimphistogramview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimphistogramview.c b/app/widgets/gimphistogramview.c
index c7a7153..e27960a 100644
--- a/app/widgets/gimphistogramview.c
+++ b/app/widgets/gimphistogramview.c
@@ -795,7 +795,7 @@ gimp_histogram_view_notify (GimpHistogram *histogram,
static void
gimp_histogram_view_update_bins (GimpHistogramView *view)
{
- gint new_bins;
+ gint new_bins = 256;
if (view->histogram)
new_bins = gimp_histogram_n_bins (view->histogram);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]