From b4eae8cbebefaa28ecd1d44d10a319c79a7bb16c 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 --- mixlib/mix_vm_command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mixlib/mix_vm_command.c') diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c index 77005e5..81e0bb6 100644 --- a/mixlib/mix_vm_command.c +++ b/mixlib/mix_vm_command.c @@ -1,9 +1,9 @@ /* -*-c-*- -------------- mix_vm_command.c : * Implementation of the functions declared in mix_vm_command.h * ------------------------------------------------------------------ - * $Id: mix_vm_command.c,v 1.26 2001/09/16 22:32:12 jao Exp $ + * $Id: mix_vm_command.c,v 1.27 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 @@ -631,7 +631,7 @@ mix_vm_cmd_dispatcher_get_src_file_line (const mix_vm_cmd_dispatcher_t *dis, enum {BUFF_SIZE = 256}; static gchar BUFFER[BUFF_SIZE]; int len = - snprintf (BUFFER, BUFF_SIZE, "%s", mix_src_file_get_line (file, line)); + g_snprintf (BUFFER, BUFF_SIZE, "%s", mix_src_file_get_line (file, line)); if (len > 0 && BUFFER[len - 1] == '\n') BUFFER[len - 1] = '\0'; return BUFFER; } -- cgit v1.2.3