engine: platform: posix: remove extra newline from libbacktrace output

This commit is contained in:
Alibek Omarov
2026-04-24 20:40:22 +05:00
committed by a1batross
parent b00679ee30
commit 76a01d0855

View File

@@ -53,16 +53,10 @@ static void Sys_AppendPrint( struct print_data *pd, const char *fmt, ... )
if( len > 0 )
{
char ch = '\n';
if( pd->logfd >= 0 )
{
write( pd->logfd, pd->message, len );
write( pd->logfd, &ch, 1 );
}
write( STDERR_FILENO, pd->message, len );
write( STDERR_FILENO, &ch, 1 );
pd->message += len;
pd->len += len;