1. Anders Ruud
  2. love
  3. Issues

Issues

Issue #832 duplicate

Double slashes in some paths

hryx
created an issue

Some of the paths returned from love.filesystem.get* are returning extra slashes.

print(love.filesystem.getUserDirectory())
print(love.filesystem.getWorkingDirectory())
print(love.filesystem.getSaveDirectory())
print(love.filesystem.getAppdataDirectory())
print(love.filesystem.getIdentity())

Results on my computer (OS X):

/Users/hryx/
/Users/hryx/projects/games/rainbow-lvl
/Users/hryx//Library/Application Support/LOVE/hryx/rainbow-lvl
/Users/hryx//Library/Application Support
hryx/rainbow-lvl

No. 1 ends in a trailing slash, others don't. Double slashes are in no. 3 and 4 above.

I've marked it as "minor" because it doesn't seem to be affecting functionality, at least not in my project.