[lazarus] Patch for win32 : ShowModal and Lazconf

Karl Brandt pascalive at bol.com.br
Tue Sep 9 20:10:06 EDT 2003


Mattias Gaertner wrote:
> On Tue, 09 Sep 2003 00:56:44 -0300
> Karl Brandt <pascalive at bol.com.br> wrote:
>>BTW: When Creating config files, if Primary file is not found, is tried 
>>to copy from secondary file to primary file. This creates a exception 
>>because primary file also not exists. Maybe can be checked if primary 
>>file exists and if no, created a default one.

Sorry,i mean secondary config file.

> There is an try..except around the copy. And defaults are always created.

At least in my system, this default secondary config is not saved to disk.
I looked at the values of the Paths, and they are valid ones.

> Even if the file exists.
> I added a FileExists, so that debugging will show an exception less.

karl






More information about the Lazarus mailing list