mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: posix: remove extra newline from libbacktrace output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user