changeset 876:13442724eb5d

One last change... use 30 bytes instead of 20... don't want to overflow.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 06 Apr 2011 05:42:00 +0000
parents e1afa43261d9
children d3693ceec9b1
files gtk3/dw.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gtk3/dw.c	Wed Apr 06 05:39:09 2011 +0000
+++ b/gtk3/dw.c	Wed Apr 06 05:42:00 2011 +0000
@@ -10418,12 +10418,12 @@
 void API dw_timer_disconnect(int id)
 {
    int _locked_by_me = FALSE;
-   char tmpbuf[20];
-
-   snprintf(tmpbuf, 20, "_dw_timer%d", id);
+   char tmpbuf[30];
+
+   snprintf(tmpbuf, 30, "_dw_timer%d", id);
    DW_MUTEX_LOCK;
    g_object_set_data(G_OBJECT(_DWObject), tmpbuf, NULL);
-   snprintf(tmpbuf, 20, "_dw_timerdata%d", id);
+   snprintf(tmpbuf, 30, "_dw_timerdata%d", id);
    g_object_set_data(G_OBJECT(_DWObject), tmpbuf, NULL);
    DW_MUTEX_UNLOCK;
 }