diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/g_graph.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/g_graph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/g_graph.c b/apps/plugins/pdbox/PDa/src/g_graph.c index 39a2993264..eba2f4f3ba 100644 --- a/apps/plugins/pdbox/PDa/src/g_graph.c +++ b/apps/plugins/pdbox/PDa/src/g_graph.c | |||
@@ -736,10 +736,12 @@ static void graph_vis(t_gobj *gr, t_glist *parent_glist, int vis) | |||
736 | zero, this is disabled. */ | 736 | zero, this is disabled. */ |
737 | if (x->gl_xtick.k_lperb) | 737 | if (x->gl_xtick.k_lperb) |
738 | { | 738 | { |
739 | #ifndef ROCKBOX | ||
739 | float upix, lpix; | 740 | float upix, lpix; |
740 | if (y2 < y1) | 741 | if (y2 < y1) |
741 | upix = y1, lpix = y2; | 742 | upix = y1, lpix = y2; |
742 | else upix = y2, lpix = y1; | 743 | else upix = y2, lpix = y1; |
744 | #endif | ||
743 | for (i = 0, f = x->gl_xtick.k_point; | 745 | for (i = 0, f = x->gl_xtick.k_point; |
744 | f < 0.99 * x->gl_x2 + 0.01*x->gl_x1; i++, | 746 | f < 0.99 * x->gl_x2 + 0.01*x->gl_x1; i++, |
745 | f += x->gl_xtick.k_inc) | 747 | f += x->gl_xtick.k_inc) |