diff --git a/builds/windows/ftdebug.c b/builds/windows/ftdebug.c index f2a1ce2f4..389b9d8a9 100644 --- a/builds/windows/ftdebug.c +++ b/builds/windows/ftdebug.c @@ -500,9 +500,10 @@ } if ( ft_component_flag || ft_timestamp_flag ) + { ft_strncpy( features_buf, features, features_length ); - - bufp += features_length - 1; + bufp += features_length - 1; + } if ( ft_component_flag ) { diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c index 48bd52a92..c8340bbd2 100644 --- a/src/base/ftdebug.c +++ b/src/base/ftdebug.c @@ -487,9 +487,10 @@ } if ( ft_component_flag || ft_timestamp_flag ) + { ft_strncpy( features_buf, features, features_length ); - - bufp += features_length - 1; + bufp += features_length - 1; + } if ( ft_component_flag ) {