From e53ba939fdcb3f37252122d2d5adb2efd3f80452 Mon Sep 17 00:00:00 2001 From: Christian Kreibich Date: Thu, 11 Nov 1999 00:00:56 +0000 Subject: [PATCH] ... and another :) SVN revision: 1246 --- api/epplet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/epplet.c b/api/epplet.c index 9d37b00..f81142e 100644 --- a/api/epplet.c +++ b/api/epplet.c @@ -1576,7 +1576,7 @@ Epplet_textbox_handle_keyevent(XEvent *ev, Epplet_gadget *gadget) g->contents = malloc(sizeof(char) * (strlen(s) + 2)); if (g->contents != NULL) - Esnprintf(g->contents, sizeof(g->contents), "%s%c", s, c); + sprintf(g->contents, "%s%c", s, c); free(s); } @@ -1585,7 +1585,7 @@ Epplet_textbox_handle_keyevent(XEvent *ev, Epplet_gadget *gadget) g->contents = malloc(2); if (g->contents != NULL) - Esnprintf(g->contents, sizeof(g->contents), "%s", TheKey); + sprintf(g->contents, "%s", TheKey); } if (g->cursor_pos <= g->w)