File::getFileNameWithoutExtension() fix

if the file does not have an extension, but there is a dot in the path, then File::getFileNameWithoutExtension() will return an empty string rather than the file name. There should be an additional check to ensure that the last dot in the full path is after the last slash, as below…

[code]const String File::getFileNameWithoutExtension() const throw()
{
const int lastSlash = fullPath.lastIndexOfChar (separator) + 1;
const int lastDot = fullPath.lastIndexOfChar (T(’.’));

if (lastDot >= 0 /***added***/ && lastDot > lastSlash)
    return fullPath.substring (lastSlash, lastDot);
else
    return fullPath.substring (lastSlash);

}
[/code]

oh, nice one. Thanks for that, Randy!