From 4d3304418dc4fe7e713a162997bc29e61f2391a5 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Wed, 5 Nov 2008 15:53:07 +0000 Subject: [PATCH] Merge r665 git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@666 af16638f-c34d-0410-8cfa-b39d5352b314 --- .../modules/presentation/view/PresentationWindowMediator.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/presentation/view/PresentationWindowMediator.as b/bigbluebutton-client/src/org/bigbluebutton/modules/presentation/view/PresentationWindowMediator.as index 053fa6cf40..fdf9787f86 100644 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/presentation/view/PresentationWindowMediator.as +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/presentation/view/PresentationWindowMediator.as @@ -163,7 +163,7 @@ package org.bigbluebutton.modules.presentation.view case PresentModuleConstants.DISPLAY_SLIDE: var slidenum:int = notification.getBody() as int; trace('DISPLAY_SLIDE in PresentationWindowMediator ' + slidenum); - if ((slidenum >= 0) && (slidenum < _presWin.slideView.slides.length)) { + if ((_presWin.slideView.slides != null) && (slidenum >= 0) && (slidenum < _presWin.slideView.slides.length)) { _presWin.slideView.selectedSlide = slidenum; _presWin.slideNumLbl.text = (slidenum + 1) + " of " + _presWin.slideView.slides.length; }