From: Samual Lenks Date: Tue, 20 Aug 2013 21:46:10 +0000 (-0400) Subject: Add newline automatically X-Git-Tag: xonotic-v0.8.0~341^2~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7a007dfb1c05993e27e83f8df5f9470784f11da9;p=xonotic%2Fxonotic-data.pk3dir.git Add newline automatically --- 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