Skip to content

Commit

Permalink
Fixed issue #647.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Dec 6, 2017
1 parent a45c232 commit 00ad450
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/org/nschmidt/ldparteditor/data/DatFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -1740,10 +1740,8 @@ public boolean saveAs(String newName) {
folderPrefix = "8\\"; //$NON-NLS-1$
} else if (path.endsWith(File.separator + "P") || path.endsWith(File.separator + "p")) { //$NON-NLS-1$ //$NON-NLS-2$
typeSuffix = "Unofficial_Primitive"; //$NON-NLS-1$
}

if (tLine.contains("Flexible_Section")) { //$NON-NLS-1$
typeSuffix = typeSuffix + " Flexible_Section"; //$NON-NLS-1$
} else if (tLine.contains("Flexible_Section")) { //$NON-NLS-1$
typeSuffix = "Unofficial_Part Flexible_Section"; //$NON-NLS-1$
}

if (!"".equals(typeSuffix)) { //$NON-NLS-1$
Expand Down

0 comments on commit 00ad450

Please sign in to comment.