Re: [AD] get_config_string return value

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


> Yesterday I found that `get_config_string' returns the empty string
> for a variable if the config file contains "var =".  Is this a
> recent change, or has it always been like this?

If that's due to src/config.c:690, I can trace it back to v3.12 .

> 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.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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