#89 Config ~ home parsing

closed-accepted
Laszlo Toth
5
2007-02-12
2007-02-12
Nick
No

This allows a ~ character at the start of the SavePath entry in GemRB.cfg and expands it to /home/<user>

Apologies if the coding style isn't great; I'm quite new to this.

Discussion

  • Nick
    Nick
    2007-02-12

     
    Attachments
  • Laszlo Toth
    Laszlo Toth
    2007-02-12

    Logged In: YES
    user_id=885460
    Originator: NO

    Why only the SavePath is expanded like this?
    I would rather add that logic to ResolveFilePath.

     
  • Laszlo Toth
    Laszlo Toth
    2007-02-12

    • assigned_to: nobody --> avenger_teambg
    • status: open --> closed-accepted
     
  • Laszlo Toth
    Laszlo Toth
    2007-02-12

    Logged In: YES
    user_id=885460
    Originator: NO

    added

     
  • Logged In: NO

    You're right, that makes much more sense.
    For some reason I read ifndef as ifdef, so ignored the ResolveFilePath call.
    Thanks