stathissideris / ditaa

ditaa is a small command-line utility that can convert diagrams drawn using ascii art ('drawings' that contain characters that resemble lines like | / - ), into proper bitmap graphics.
GNU Lesser General Public License v3.0
927 stars 87 forks source link

getParent should not return null for targetFilename #22

Open ovruni opened 7 years ago

ovruni commented 7 years ago

Hi,

"new File(targetFilename).getParent()" return null value if targetFilename is a relative path, use "new File(targetFilename).getAbsoluteFile().getParent()" instead.

Note: For some strange reason the github.com website shows other lines, do not look at it, use "git log -p" to see the changes made.