Fix comparison of slides

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@554 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2008-10-13 02:24:06 +00:00
parent 7c438c80d9
commit d1c33a7a17

View File

@ -585,7 +585,8 @@ public class FileSystemSlideManager implements ISlideDatabase {
try {
String toReturn = "";
char current;
for (int i = 0; i < name.length(); i++) {
int lastDash = name.lastIndexOf('-');
for (int i = lastDash; i < name.length(); i++) {
current = name.charAt(i);
if (Character.isDigit(current)) {
toReturn += current;