From 4be4198a5fa3f68aa89adddc1b0a5db919e52853 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 12 Feb 2013 04:50:04 -0500 Subject: [PATCH] Also update this other backtrace check too --- qcsrc/common/notifications.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 1055fc807..ebaf815e2 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -233,11 +233,11 @@ void Local_Notification(float net_type, float net_name, ...count) s1, s2, s3, s4, f1, f2, f3, f4)); if((stringcount + floatcount) > count) - { backtrace(sprintf("Not enough arguments for Local_Notification! stringcount(%d) + floatcount(%d) > count(%d) \ - \nCheck the notification definition and function call for accuracy...?\n", stringcount, floatcount, count)); return; } + { backtrace(sprintf(strcat("Not enough arguments for Send_Notification! stringcount(%d) + floatcount(%d) > count(%d)\n", + "Check the notification definition and function call for accuracy...?\n"), stringcount, floatcount, count)); return; } else if((stringcount + floatcount) < count) - { backtrace(sprintf("Too many arguments for Local_Notification! stringcount(%d) + floatcount(%d) < count(%d) \ - \nCheck the notification definition and function call for accuracy...?\n", stringcount, floatcount, count)); return; } + { backtrace(sprintf(strcat("Too many arguments for Send_Notification! stringcount(%d) + floatcount(%d) < count(%d)\n", + "Check the notification definition and function call for accuracy...?\n"), stringcount, floatcount, count)); return; } } #endif -- 2.39.2