From fe26b7c09f86650d19b4be388c155af081388a67 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Tue, 9 Apr 2002 23:28:19 +0000 Subject: portability fix: snprintf -> g_snprintf --- mixguile/xmixguile_cmd_dispatcher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mixguile') 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)); } -- cgit v1.2.3