narroo
6eefd54d45
Reworked RemoveBom to use unsigned chars and reverted the logic changes in WriteFile. Should work fine now.
2014-02-16 09:25:32 -05:00
narroo
03fd3b556a
Changed unsigned char[] back to char[].
2014-02-16 08:22:10 -05:00
narroo
d4f2788008
Changed char[] to unsigned char[] in cIniFile::RemoveBom
2014-02-16 07:49:09 -05:00
narroo
8c34b2d974
Addressed Issue #402 . cIniFile can now process UTF-8 files that have a
...
Byte Order Marker, BOM.
2014-02-15 19:56:36 -05:00
madmaxoft
ba49a32c3a
Another VarArgs fix.
...
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-16 08:34:10 +01:00
madmaxoft
dd6c5779ec
Using a 2nd argument instead of va_copy().
...
This seems to be the only reasonable C++03-only solution.
2014-01-15 18:28:51 +01:00
madmaxoft
7739238d3d
Fixed reading the files.
...
Duplicate values were ignored.
2014-01-11 20:10:50 +01:00
madmaxoft
a332a5dc73
IniFile: Split SetValue() into AddValue() and SetValue().
...
Each function does what one would assume - AddValue adds a new value, SetValue overwrites existing value (creates a new one if not exists, if instructed to do so).
2014-01-11 16:44:28 +01:00
madmaxoft
4c360b54e3
Fixed cIniFile's SetValue().
...
How did we not see this earlier? Each call to SetValue would actually ADD a value!
2014-01-10 16:23:22 +01:00
Alexander Harkness
9c10729f00
Moved iniFile
2013-11-24 14:22:15 +00:00