summaryrefslogtreecommitdiff
path: root/ui/gtk/graph_analysis.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-11-09 21:18:08 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-11-09 21:18:08 +0000
commit7b0c75dd3cfa22b6434f98c17203da65e5dadbd4 (patch)
tree8bba559f8b6a3f11e2ba652d17c89cdd605376a0 /ui/gtk/graph_analysis.c
parent87b7c35ee4919bdec0dccb696ac7bfa61e39fc67 (diff)
downloadwireshark-7b0c75dd3cfa22b6434f98c17203da65e5dadbd4.tar.gz
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8966 :
Initialize last entry of background_color array to avoid having a RGBA(0,0,0,0) transparent black svn path=/trunk/; revision=53205
Diffstat (limited to 'ui/gtk/graph_analysis.c')
-rw-r--r--ui/gtk/graph_analysis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gtk/graph_analysis.c b/ui/gtk/graph_analysis.c
index 3fbd82722d..7188ebbc26 100644
--- a/ui/gtk/graph_analysis.c
+++ b/ui/gtk/graph_analysis.c
@@ -348,7 +348,7 @@ static void dialog_graph_draw(graph_analysis_data_t *user_data)
static GdkRGBA background_color[MAX_NUM_COL_CONV+1] = {
/* Red, Green, Blue Alpha */
{0.0039, 0.0039, 1.0000, 1.0},
- {0.5664, 0.6289, 0.5664, 1.0},
+ {0.5664, 0.9336, 0.5664, 1.0},
{1.0000, 0.6289, 0.4805, 1.0},
{1.0000, 0.7148, 0.7578, 1.0},
{0.9805, 0.9805, 0.8242, 1.0},
@@ -356,7 +356,8 @@ static void dialog_graph_draw(graph_analysis_data_t *user_data)
{0.4023, 0.8046, 0.6680, 1.0},
{0.8789, 1.0000, 1.0000, 1.0},
{0.6914, 0.7695, 0.8710, 1.0},
- {0.8281, 0.8281, 0.8281, 1.0},
+ {0.5312, 0.8086, 0.9957, 1.0},
+ {0.8281, 0.8281, 0.8281, 1.0}
};
/* XXX can't we just set the background color ? */