Hi Przemek,
Date: Wed, 21 Oct 2009 13:44:54 +0200 From: Przemys?aw Czerpak
<[email protected]> Subject: Re: [Harbour] HB_ReadIni() Problem To:
"Harbour Project Main Developer List." <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8 On Wed, 21 Oct 2009, Mario H.
Sabado wrote: Hi,
> I have encountered the value being returned by HB_ReadIni() was
> being truncated by one char at the last. I have the following
> function and sample ini file.
It may happen if EOL is missing in the last line of .ini file.
I'll add protection against such situations in a while.
Thanks for the information.
best regards,
Przemek
Thank you so much for the fix. It now works as expected but when the
last line of my ini file doesn't contain a carriage return, I still
encounter the problem.
Best regards,
Mario
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour