summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_vm_handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/xmix_vm_handlers.c')
-rw-r--r--mixlib/xmix_vm_handlers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mixlib/xmix_vm_handlers.c b/mixlib/xmix_vm_handlers.c
index 2938bfc..e5bf909 100644
--- a/mixlib/xmix_vm_handlers.c
+++ b/mixlib/xmix_vm_handlers.c
@@ -1,9 +1,9 @@
/* -*-c-*- -------------- xmix_vm_handlers.c :
* Implementation of the functions declared in xmix_vm_handlers.h
* ------------------------------------------------------------------
- * $Id: xmix_vm_handlers.c,v 1.4 2001/09/17 23:26:43 jao Exp $
+ * $Id: xmix_vm_handlers.c,v 1.5 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
@@ -1274,11 +1274,11 @@ cmd_pbt_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg)
if (line && file)
{
int j = 0;
- snprintf (BUFFER, SIZE, "%s", mix_src_file_get_line (file, line));
+ g_snprintf (BUFFER, SIZE, "%s", mix_src_file_get_line (file, line));
while (!isspace (BUFFER[j])) j++;
BUFFER[j] = '\0';
}
- if (strlen (BUFFER) == 0) snprintf (BUFFER, SIZE, "%d", address);
+ if (strlen (BUFFER) == 0) g_snprintf (BUFFER, SIZE, "%d", address);
fprintf (dis->out, "#%d\t%s\tin %s%s:%d\n", k, BUFFER, name,
MIX_SRC_DEFEXT, line);
++k;