diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2002-04-09 23:28:19 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2002-04-09 23:28:19 +0000 |
commit | fe26b7c09f86650d19b4be388c155af081388a67 (patch) | |
tree | 64cc907a55db92938bb7f3b555ca5cfdb7a93516 /mixgtk/mixgtk_cmd_dispatcher.c | |
parent | 6923e0f864b77944bc2d5d30c21d3fb89765b8a2 (diff) | |
download | mdk-fe26b7c09f86650d19b4be388c155af081388a67.tar.gz mdk-fe26b7c09f86650d19b4be388c155af081388a67.tar.bz2 |
portability fix: snprintf -> g_snprintf
Diffstat (limited to 'mixgtk/mixgtk_cmd_dispatcher.c')
-rw-r--r-- | mixgtk/mixgtk_cmd_dispatcher.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mixgtk/mixgtk_cmd_dispatcher.c b/mixgtk/mixgtk_cmd_dispatcher.c index 01e549b..7ed4a11 100644 --- a/mixgtk/mixgtk_cmd_dispatcher.c +++ b/mixgtk/mixgtk_cmd_dispatcher.c @@ -1,9 +1,9 @@ /* -*-c-*- -------------- mixgtk_cmd_dispatcher.c : * Implementation of the functions declared in mixgtk_cmd_dispatcher.h * ------------------------------------------------------------------ - * Last change: Time-stamp: "2001-04-08 01:34:09 jao" + * $Id: mixgtk_cmd_dispatcher.c,v 1.15 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 @@ -440,7 +440,7 @@ complete_command_ (void) NULL, NULL, NULL, "Completions:\n", -1); while (cmds) { - snprintf (BUFFER, 25, "%-12s", (const char*)cmds->data); + g_snprintf (BUFFER, 25, "%-12s", (const char*)cmds->data); ++k; gtk_text_insert (GTK_TEXT (dis_data_.log), NULL, NULL, NULL, BUFFER, -1); |