#709 Text Export to Single File with custom filename: fixed

This commit is contained in:
honfika@gmail.com
2014-11-24 21:07:31 +01:00
parent 1cf0c28c74
commit e40d2cb13d
4 changed files with 18 additions and 4 deletions

View File

@@ -12,7 +12,8 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.helpers;
import java.io.File;
@@ -65,7 +66,7 @@ public class Path {
int i = s.lastIndexOf('.');
if (i > 0 && i < s.length() - 1) {
if (i > 0 && i < s.length() - 1) {
ext = s.substring(0, i);
}
return ext;
}