aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_graph_dlg.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-29 13:33:37 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-29 13:33:37 +0000
commit7deec480ff68e446fe047925619df51d7fe8dacc (patch)
tree5ccaf4cba154244912a56e39003f8ac1bbd169f1 /gtk/sctp_graph_dlg.c
parent4562744a64da351cb05e8110ec5983e398af98dd (diff)
Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
Diffstat (limited to 'gtk/sctp_graph_dlg.c')
-rw-r--r--gtk/sctp_graph_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/sctp_graph_dlg.c b/gtk/sctp_graph_dlg.c
index 9655e7ec17..b3082adcf4 100644
--- a/gtk/sctp_graph_dlg.c
+++ b/gtk/sctp_graph_dlg.c
@@ -610,7 +610,7 @@ static void sctp_graph_draw(struct sctp_udata *u_data)
}
- strncpy(label_string, "sec", 15);
+ g_strlcpy(label_string, "sec", 15);
#if GTK_MAJOR_VERSION < 2
lwidth=gdk_string_width(font, label_string);