diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-09-15 17:23:25 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-09-15 17:23:25 +0000 |
commit | f743e92854752f0b7baa25a2227469e1a5ef9c31 (patch) | |
tree | 17f811e86940684522365e2630c8c6b90c819267 /gui/fatom.h | |
parent | 4e63ca0a66ba3b0e34a8a817a421a60ae2cd3eb8 (diff) |
fixed pre 0.37 compilation via PD_VERSION_MINOR
svn path=/trunk/externals/ggee/; revision=973
Diffstat (limited to 'gui/fatom.h')
-rw-r--r-- | gui/fatom.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/fatom.h b/gui/fatom.h index cea48c2..5900acd 100644 --- a/gui/fatom.h +++ b/gui/fatom.h @@ -1,7 +1,8 @@ /* ------------------------ fatom ----------------------------- */ #define x_val a_pos.a_w.w_float -#define DEBUG(x) x +#define DEBUG(x) + typedef struct _fatom { @@ -293,7 +294,11 @@ static void fatom_vis(t_gobj *z, t_glist *glist, int vis) t_rtext *y; DEBUG(post("vis: %d",vis);) if (vis) { +#ifdef PD_MINOR_VERSION y = (t_rtext *) rtext_new(glist, (t_text *)z); +#else + y = (t_rtext *) rtext_new(glist, (t_text *)z,0,0); +#endif fatom_drawme(s, glist, 1); } else { |