imlib 1.9 config bug




If your LANG environment variable is set to de_DE, then the ~/.imrc
file cannot be parsed.

Test:

execute imlib_config, goto "color correction" and redice the red level 
a little bit, so that it's 0.99999

save the user config.

call any gnome application that uses pixmapx and imlib for rendering.

There's no red in any icon.

Why:

imlib_config stores the config values without taking LANG settings
into account. so Red_Gamma ist saved as 0.999999 which is parsed by
scanf and friend as 0 if the LANG variable is de_DE. (the decimal
point is `,' not '.' in german speaking countries


Solution:

perhaps imlib should write and read it's settings after changing to
the C locale.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]