From 1959842f48994aca1a7f351bbd4c7bf93b6a8e7a Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Thu, 21 Feb 2013 21:54:05 -0500 Subject: [PATCH] Organize that a bit better as well --- qcsrc/common/notifications.qc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.2