From: Tilman Sauerbeck Date: Fri, 29 Apr 2005 14:52:24 +0000 (+0000) Subject: Accept more than 4 arguments, too. X-Git-Url: http://git.code-monkey.de/?p=multipass-eu.git;a=commitdiff_plain;h=aa6a8e71d23955a75a0264da7cb02ca15057b0b2 Accept more than 4 arguments, too. --- diff --git a/src/message_handler.sma b/src/message_handler.sma index b956bbb..1d59277 100644 --- a/src/message_handler.sma +++ b/src/message_handler.sma @@ -1,4 +1,4 @@ -/* $Id: message_handler.sma 19 2005-04-29 14:31:53Z tilman $ */ +/* $Id: message_handler.sma 20 2005-04-29 14:52:24Z tilman $ */ #define MSG_ID_SET_SONGNAME 0 @@ -8,7 +8,7 @@ public message (Msg_Type:type, id, ...) case MSG_ID_SET_SONGNAME: { new buf[256], artist[128], title[128], len; - if (type != MSG_STRING_SET || numargs () != 4) + if (type != MSG_STRING_SET || numargs () < 4) return; getsarg (2, artist, 128);