summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-26 21:19:34 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-26 21:19:34 (GMT)
commit3155a05a21a52a173b8a711c402426392eb53c2a (patch)
treec5b7ea9b1d5438b5b10055fbafbc5b61141ed2b0 /src/analysis
parent43e278987f0453e34483368f6d512d942ef6dd34 (diff)
Cleaned and improved the drawing of the block view.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@102 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/line.c2
-rw-r--r--src/analysis/line.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/line.c b/src/analysis/line.c
index cd54db0..988de1f 100644
--- a/src/analysis/line.c
+++ b/src/analysis/line.c
@@ -671,7 +671,7 @@ void g_rendering_line_get_size(GRenderingLine *lines, const GRenderingLine *last
* *
******************************************************************************/
-GRenderingLine *g_rendering_line_find_by_y(GRenderingLine *lines, const GRenderingLine *last, gdouble *y)
+GRenderingLine *g_rendering_line_find_by_y(GRenderingLine *lines, const GRenderingLine *last, int *y)
{
GRenderingLine *result; /* Trouvaille à retourner */
int h; /* Hauteur de l'objet actuel */
diff --git a/src/analysis/line.h b/src/analysis/line.h
index 621ab60..a46f47d 100644
--- a/src/analysis/line.h
+++ b/src/analysis/line.h
@@ -126,7 +126,7 @@ void g_rendering_line_update_bin_len(GRenderingLine *, GRenderingLine *, MainRen
void g_rendering_line_get_size(GRenderingLine *, const GRenderingLine *, MainRendering, int *, int *, int *);
/* Recherche une ligne d'après sa position à l'écran. */
-GRenderingLine *g_rendering_line_find_by_y(GRenderingLine *, const GRenderingLine *, gdouble *);
+GRenderingLine *g_rendering_line_find_by_y(GRenderingLine *, const GRenderingLine *, int *);
/* Recherche une ligne d'après sa position en mémoire/physique. */
GRenderingLine *g_rendering_line_find_by_address(GRenderingLine *, const GRenderingLine *, vmpa_t);