summaryrefslogtreecommitdiffhomepage
path: root/mixguile
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2002-04-09 23:28:19 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2002-04-09 23:28:19 +0000
commitb4eae8cbebefaa28ecd1d44d10a319c79a7bb16c (patch)
treeba08d67f27f0350517ae94b4393d8da4191c1f4f /mixguile
parent7768d3c3ade49b2307049e7d308ead409f4a7d1d (diff)
downloadmdk-b4eae8cbebefaa28ecd1d44d10a319c79a7bb16c.tar.gz
mdk-b4eae8cbebefaa28ecd1d44d10a319c79a7bb16c.tar.bz2
portability fix: snprintf -> g_snprintf
Diffstat (limited to 'mixguile')
-rw-r--r--mixguile/xmixguile_cmd_dispatcher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixguile/xmixguile_cmd_dispatcher.c b/mixguile/xmixguile_cmd_dispatcher.c
index 4781851..78fbce2 100644
--- a/mixguile/xmixguile_cmd_dispatcher.c
+++ b/mixguile/xmixguile_cmd_dispatcher.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- xmixguile_cmd_dispatcher.c :
* Implementation of the functions declared in xmixguile_cmd_dispatcher.h
* ------------------------------------------------------------------
- * $Id: xmixguile_cmd_dispatcher.c,v 1.8 2001/09/25 21:41:11 jao Exp $
+ * $Id: xmixguile_cmd_dispatcher.c,v 1.9 2002/04/09 23:28:19 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -443,7 +443,7 @@ define_hook_procedure_ (SCM function)
static gchar BUFFER[BUFF_SIZE];
static const gchar *PATTERN = "____mix__hook__%d____";
static int K = 0;
- snprintf (BUFFER, BUFF_SIZE, PATTERN, K++);
+ g_snprintf (BUFFER, BUFF_SIZE, PATTERN, K++);
/* gh_define (name, val) returns a pair: (symbol . symbol-value) */
return gh_cdr (gh_define ((char *)BUFFER, function));
}