diff options
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r-- | apps/plugins/text_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 703b330d6c..617aeae8b1 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c | |||
@@ -133,7 +133,7 @@ char *list_get_name_cb(int selected_item, void* data, | |||
133 | rb->snprintf(buf , buf_len, "%s ...", b); | 133 | rb->snprintf(buf , buf_len, "%s ...", b); |
134 | b[buf_len-10] = t; | 134 | b[buf_len-10] = t; |
135 | } | 135 | } |
136 | else rb->strncpy(buf, b, buf_len); | 136 | else rb->strlcpy(buf, b, buf_len); |
137 | return buf; | 137 | return buf; |
138 | } | 138 | } |
139 | 139 | ||