If the screenshot conversion settings are set to delete the original .bmp file after converting it, the program log entry for the conversion will have an empty space where the deleted file name should be:
This seems like an easy "bug" to fix, but I don't know anything about the codebase so I figured I'd post an issue about it rather than messing something up myself.
If the screenshot conversion settings are set to delete the original
.bmp
file after converting it, the program log entry for the conversion will have an empty space where the deleted file name should be:(This should instead be 'Converted
X
toY
')Based on a quick look at the code, the problem seems to be line 248 at the end of the
Convert()
method here: https://github.com/EDDiscovery/EliteDangerousCore/blob/87f42036cb47fb5e0d86add01dd75a2f553fd3ec/EliteDangerous/Screenshots/ScreenShotImageConverter.cs#L246-L250Path.GetFileName(inputfilename)
is returningnull
, presumably because the file atinputfilename
's location has been deleted, so the log entry gets an empty space added to it rather than a file path.This seems like an easy "bug" to fix, but I don't know anything about the codebase so I figured I'd post an issue about it rather than messing something up myself.