summaryrefslogtreecommitdiff
path: root/apps/plugins/goban/sgf_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/goban/sgf_output.c')
-rw-r--r--apps/plugins/goban/sgf_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/goban/sgf_output.c b/apps/plugins/goban/sgf_output.c
index c1ac052be7..6a52789f7a 100644
--- a/apps/plugins/goban/sgf_output.c
+++ b/apps/plugins/goban/sgf_output.c
@@ -130,7 +130,7 @@ output_header_props (void)
130{ 130{
131 char buffer[128]; 131 char buffer[128];
132 132
133 rb->strncpy (buffer, "GM[1]FF[4]CA[UTF-8]AP[Rockbox Goban:1.0]ST[2]\n\n", 133 rb->strlcpy (buffer, "GM[1]FF[4]CA[UTF-8]AP[Rockbox Goban:1.0]ST[2]\n\n",
134 sizeof (buffer)); 134 sizeof (buffer));
135 write_file (sgf_fd, buffer, rb->strlen (buffer)); 135 write_file (sgf_fd, buffer, rb->strlen (buffer));
136 136