Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 484198
Collapse All | Expand All

(-)a/org.eclipse.gef4.dot/src/org/eclipse/gef4/dot/internal/DotNativeDrawer.java (-2 / +3 lines)
Lines 48-56 Link Here
48
			final File dotInputFile, final String format,
48
			final File dotInputFile, final String format,
49
			final String imageResultFile) {
49
			final String imageResultFile) {
50
		String outputFormat = "-T" + format; //$NON-NLS-1$
50
		String outputFormat = "-T" + format; //$NON-NLS-1$
51
		String resultFile = imageResultFile == null
52
				? dotInputFile.getName() + "." + format : imageResultFile; //$NON-NLS-1$
53
		String dotFile = dotInputFile.getName();
51
		String dotFile = dotInputFile.getName();
52
		String resultFile = imageResultFile == null
53
				? dotFile.substring(0, dotFile.lastIndexOf('.') + 1) + format
54
				: imageResultFile; // $NON-NLS-1$
54
		String inputFolder = new File(dotInputFile.getParent())
55
		String inputFolder = new File(dotInputFile.getParent())
55
				.getAbsolutePath() + File.separator;
56
				.getAbsolutePath() + File.separator;
56
		String outputFolder = imageResultFile == null ? inputFolder
57
		String outputFolder = imageResultFile == null ? inputFolder

Return to bug 484198