weston/libweston/color-lcms
Leandro Ribeiro cb542dd56a color-lcms: save ICC profile version string with a single decimal value
We have a string describing the ICC profile. cmsGetProfileVersion()
returns a float value, and we are converting that to string with "%f"
and saving to this description. Instead, use "%.1f" to restrict it to a
single decimal value, which is enough. With this change we have e.g.
"version 4.4" instead of "version 4.4000000".

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2023-04-12 10:03:32 +00:00
..
color-lcms.c color-lcms: add cmlcms_category_name() 2022-09-28 10:28:28 +00:00
color-lcms.h color-lcms: add support for matrices 2022-09-28 10:28:28 +00:00
color-profile.c color-lcms: save ICC profile version string with a single decimal value 2023-04-12 10:03:32 +00:00
color-transform.c color-lcms: Fix memory leak in join_curvesets 2023-04-11 14:26:30 +00:00
meson.build build: consolidate lcms2 dependencies 2022-06-03 10:22:25 +00:00