From: Samual Lenks Date: Fri, 22 Feb 2013 02:54:05 +0000 (-0500) Subject: Organize that a bit better as well X-Git-Tag: xonotic-v0.7.0~62^2~23^2~176 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1959842f48994aca1a7f351bbd4c7bf93b6a8e7a;p=xonotic%2Fxonotic-data.pk3dir.git Organize that a bit better as well --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index e5bd591ee..99f1a5452 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -31,7 +31,11 @@ void Dump_Notifications(float fh, float alsoprint) else { print(a); } \ } } #define NOTIF_WRITE_SETA(name,default,text) { \ - notif_msg = sprintf("seta notification_%s %d \"notif string: %s\"\n", name, default, strreplace("\n", "\\n", text)); \ + notif_msg = \ + sprintf( \ + "seta notification_%s %d \"notif string: %s\"\n", \ + name, default, strreplace("\n", "\\n", text) \ + ); \ NOTIF_WRITE(notif_msg, strreplace("^", "^^", notif_msg)) } string notif_msg;