#16 Wrong path in config creator

GemRB Main Engine
closed-rejected
nobody
None
5
2004-02-21
2004-02-21
Luca Santarelli
No

Hi,

Config/Config.cpp, line 295.
WriteConfig(&newGame, ".\\GemRBcfg.cfg");

This works on Windows, but creates a file named
".\GemRBcfg.cfg" on Linux.

Proposed fix: just remove ".\\" since it is useless.
Proposed elegant fix: use a #define-d PATH_SEPARATOR :-)

If I may add, "GemRBcfg.cfg" seems wrong to me, the
first "cfg" should not be there. :-)

Bye

Discussion

    • status: open --> closed-rejected
     
  • Logged In: YES
    user_id=66394

    The config creator is not officially released and actually it is
    not maintained anymore. This Bug will be rejected since the
    Config Creator need to be restructured.

    Thanks