Revision: 19687 http://sourceforge.net/p/gate/code/19687 Author: ian_roberts Date: 2016-10-17 09:48:28 +0000 (Mon, 17 Oct 2016) Log Message: ----------- That plus should be a minus (we want "origLength - (extension + 1)" rather than "origLength - extension + 1")
Modified Paths: -------------- gate/trunk/src/main/gate/gui/DocumentExportMenu.java Modified: gate/trunk/src/main/gate/gui/DocumentExportMenu.java =================================================================== --- gate/trunk/src/main/gate/gui/DocumentExportMenu.java 2016-10-17 01:22:45 UTC (rev 19686) +++ gate/trunk/src/main/gate/gui/DocumentExportMenu.java 2016-10-17 09:48:28 UTC (rev 19687) @@ -318,7 +318,7 @@ fileName.length() - de.getDefaultExtension() .length() - + 1); + - 1); } if(usedFileNames.contains(fileName)) { // name clash -> add unique ID This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs