diff options
author | Luke Iannini <lukeiannini@users.sourceforge.net> | 2008-06-18 20:54:47 +0000 |
---|---|---|
committer | Luke Iannini <lukeiannini@users.sourceforge.net> | 2008-06-18 20:54:47 +0000 |
commit | df1a90bf4eff49c6349ba7909d2e4921c3f48942 (patch) | |
tree | 4aa981c4fad6e7d393f78f136332411d54675e9c | |
parent | 0e464b2fa8b4fe35c90842ffacc45b81f6bd37a0 (diff) |
fixed a couple debug messages
svn path=/trunk/externals/bbogart/; revision=10035
-rw-r--r-- | entry/entry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/entry/entry.c b/entry/entry.c index 93d12d5..891e00c 100644 --- a/entry/entry.c +++ b/entry/entry.c @@ -148,7 +148,6 @@ static void set_tk_widget_ids(t_entry *x, t_canvas *canvas) sprintf(buf,"%s.window%lx", x->canvas_id, (long unsigned int)x); x->window_tag = getbytes(strlen(buf)); strcpy(x->window_tag, buf); /* Tk ID for the resizing "window" */ - post(""); sprintf(buf,"%s.handle%lx", x->canvas_id, (long unsigned int)x); x->handle_id = getbytes(strlen(buf)); @@ -166,7 +165,7 @@ static void set_tk_widget_ids(t_entry *x, t_canvas *canvas) static int calculate_onset(t_entry *x, t_glist *glist, int current_iolet, int total_iolets) { - post("calculate_onset"); + DEBUG(post("calculate_onset");); return(text_xpix(&x->x_obj, glist) + (x->x_width - IOWIDTH) \ * current_iolet / (total_iolets == 1 ? 1 : total_iolets - 1)); } |