aboutsummaryrefslogtreecommitdiff
path: root/entry/entry.c
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-06-18 20:54:47 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-06-18 20:54:47 +0000
commitdf1a90bf4eff49c6349ba7909d2e4921c3f48942 (patch)
tree4aa981c4fad6e7d393f78f136332411d54675e9c /entry/entry.c
parent0e464b2fa8b4fe35c90842ffacc45b81f6bd37a0 (diff)
fixed a couple debug messages
svn path=/trunk/externals/bbogart/; revision=10035
Diffstat (limited to 'entry/entry.c')
-rw-r--r--entry/entry.c3
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));
}