Thanks for reporting - this is a side-effect of ReadProfileString adding a (superfluous) carriage-return after the last entry in a section. Basically, this is what it returns:

Ricoh(carriage-return)
Sharp(carriage-return)
Brother(carriage-return)
Xerox(carriage-return)

If you'd like this changed: let me know.


Edited by Ruud van Velsen (2022-04-28 02:26 PM)