sync tool: Presets with "=" dont work
Moderators: Hacker, petermad, Stefan2, white
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
sync tool: Presets with "=" dont work
Should be much longer present than TC 7.5.
Just use the sync tool and create a new preset with the name "text=text"
=> would not be shown... Its in the ini, but the "=" sign makes trouble...
Just use the sync tool and create a new preset with the name "text=text"
=> would not be shown... Its in the ini, but the "=" sign makes trouble...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If the config file parser splits a line on the '=' character, why don't you just limit the number of splits to 1. Then the '=' character could be present in the entries. So, unless the code for parsing the config file is not yours (some third-party library), I believe it would be a very straightforward change to make and not introducing any side-efects.
Anyway, I agree that restricting the values so that they do not contain any '=' character is an odd limitation ...
Anyway, I agree that restricting the values so that they do not contain any '=' character is an odd limitation ...
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I will replace the '=' by an underscore '_' in public beta 2.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: