[asterisk-commits] tilghman: branch 1.2 r38761 - /branches/1.2/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Aug 2 22:22:20 MST 2006


Author: tilghman
Date: Thu Aug  3 00:22:19 2006
New Revision: 38761

URL: http://svn.digium.com/view/asterisk?rev=38761&view=rev
Log:
Bug 7648 - Checking wrong count for plurality on new messages for Dutch language

Modified:
    branches/1.2/apps/app_voicemail.c

Modified: branches/1.2/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_voicemail.c?rev=38761&r1=38760&r2=38761&view=diff
==============================================================================
--- branches/1.2/apps/app_voicemail.c (original)
+++ branches/1.2/apps/app_voicemail.c Thu Aug  3 00:22:19 2006
@@ -4380,7 +4380,7 @@
 		if (vms->newmessages) {
 			res = say_and_wait(chan, vms->newmessages, chan->language);
 			if (!res) {
-				if (vms->oldmessages == 1)
+				if (vms->newmessages == 1)
 					res = ast_play_and_wait(chan, "vm-INBOXs");
 				else
 					res = ast_play_and_wait(chan, "vm-INBOX");



More information about the asterisk-commits mailing list