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
commitfe26b7c09f86650d19b4be388c155af081388a67 (patch)
tree64cc907a55db92938bb7f3b555ca5cfdb7a93516 /mixguile
parent6923e0f864b77944bc2d5d30c21d3fb89765b8a2 (diff)
downloadmdk-fe26b7c09f86650d19b4be388c155af081388a67.tar.gz
mdk-fe26b7c09f86650d19b4be388c155af081388a67.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));
}