aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/stats/statistics.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2006-11-12 09:01:00 +0000
committerChristian Grothoff <christian@grothoff.org>2006-11-12 09:01:00 +0000
commit2a25933ffb8fa9a3049ed3b6090346bf8b135abb (patch)
tree7c01236ce457638037bcf3f0d5c389c3cd4f496e /src/plugins/stats/statistics.c
parente710202545ccc4788b3f07764e32dbad6e4b36c1 (diff)
downloadgnunet-gtk-2a25933ffb8fa9a3049ed3b6090346bf8b135abb.tar.gz
gnunet-gtk-2a25933ffb8fa9a3049ed3b6090346bf8b135abb.zip
removing whitespace
Diffstat (limited to 'src/plugins/stats/statistics.c')
-rw-r--r--src/plugins/stats/statistics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/stats/statistics.c b/src/plugins/stats/statistics.c
index a93c9bff..e9375e06 100644
--- a/src/plugins/stats/statistics.c
+++ b/src/plugins/stats/statistics.c
@@ -117,8 +117,8 @@ static void load_graph_draw(LoadGraph *g) {
117 g->disp->allocation.height); 117 g->disp->allocation.height);
118 118
119 max = 0.26; /* force showing at least the 25% line */ 119 max = 0.26; /* force showing at least the 25% line */
120 for (i = 0; i < g->num_points - 1; i++) 120 for (i = 0; i < g->num_points - 1; i++)
121 for (j=0;j<g->count;j++) 121 for (j=0;j<g->count;j++)
122 if (g->data[i][j] > max) 122 if (g->data[i][j] > max)
123 max = g->data[i][j]; 123 max = g->data[i][j];
124 max = max * 1.01; /* leave top 1% free */ 124 max = max * 1.01; /* leave top 1% free */
@@ -130,7 +130,7 @@ static void load_graph_draw(LoadGraph *g) {
130 for (i = 1; i < 5; i++) { 130 for (i = 1; i < 5; i++) {
131 gint y1 = g->draw_height + 1 - i * dely; 131 gint y1 = g->draw_height + 1 - i * dely;
132 if ( (dely < 30) && (i != 4) ) 132 if ( (dely < 30) && (i != 4) )
133 continue; /* only print additional 133 continue; /* only print additional
134 lines if there is enough space! */ 134 lines if there is enough space! */
135 if (y1 > 0) { 135 if (y1 > 0) {
136 const gchar * label[] = { 136 const gchar * label[] = {