Re: [AD] get_config_string return value

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 24 May 2001, Eric Botcazou <ebotcazou@xxxxxxxxxx> wrote:
> > Yesterday I found that `get_config_string' returns the empty string
> > for a variable if the config file contains "var =".
...
> > So we need to do one of:
> > - comment out the "var =" lines in allegro.cfg
> > - make get_config_string return the default string for "var ="
> > - correct the incorrect uses of `get_config_string'
> 
> I vote for proposition #2.

Which is also my preferred option.


And on 25 May 2001, Eduard Bloch <edi@xxxxxxxxxx> kindly provided a patch.

Thanks.  I've committed it, with some reformatting.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/