]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Organize that a bit better as well
authorSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 02:54:05 +0000 (21:54 -0500)
committerSamual Lenks <samual@xonotic.org>
Fri, 22 Feb 2013 02:54:05 +0000 (21:54 -0500)
qcsrc/common/notifications.qc

index e5bd591ee1e45b7e0378fd18e70455c2d0ee9812..99f1a545263adf0594d327eb1650664e3fd31876 100644 (file)
@@ -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;