diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-09 21:18:08 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-09 21:18:08 +0000 |
commit | 7b0c75dd3cfa22b6434f98c17203da65e5dadbd4 (patch) | |
tree | 8bba559f8b6a3f11e2ba652d17c89cdd605376a0 /ui | |
parent | 87b7c35ee4919bdec0dccb696ac7bfa61e39fc67 (diff) | |
download | wireshark-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')
-rw-r--r-- | ui/gtk/graph_analysis.c | 5 |
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 ? */ |