From 7a007dfb1c05993e27e83f8df5f9470784f11da9 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 20 Aug 2013 17:46:10 -0400 Subject: [PATCH] Add newline automatically --- qcsrc/common/notifications.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 28cba8b3d..512b98836 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -952,7 +952,7 @@ string Local_Notification_sprintf( default: NOTIF_HIT_UNKNOWN(NOTIF_MAX_ARGS, "Local_Notification_sprintf") } } - return sprintf(input, arg_slot[0], arg_slot[1], arg_slot[2], arg_slot[3], arg_slot[4], arg_slot[5], arg_slot[6]); + return sprintf(strcat(input, "\n"), arg_slot[0], arg_slot[1], arg_slot[2], arg_slot[3], arg_slot[4], arg_slot[5], arg_slot[6]); } #ifdef CSQC -- 2.39.2