exit strfcpy, only use m_strcpy.
[apps/madmutt.git] / thread.c
index 6d2b649..ee923b1 100644 (file)
--- a/thread.c
+++ b/thread.c
@@ -244,11 +244,11 @@ void mutt_draw_tree (CONTEXT * ctx)
         new_tree = p_new(char, (2 + depth * width));
         if (start_depth > 1) {
           memcpy(new_tree, pfx, (start_depth - 1) * width);
-          strfcpy (new_tree + (start_depth - 1) * width,
-                   arrow, (1 + depth - start_depth) * width + 2);
+          m_strcpy(new_tree + (start_depth - 1) * width,
+                   (1 + depth - start_depth) * width + 2, arrow);
         }
         else
-          strfcpy (new_tree, arrow, 2 + depth * width);
+          m_strcpy(new_tree, 2 + depth * width, arrow);
         tree->message->tree = new_tree;
       }
     }