Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d.legend.vect: Initialize title size (OSGeo#3095)
Later test (line 270) uses title width to compute background size regardless of title presence, but original code initialized title_w only when title was set. This fixes occasional extra wide legend background rectangle. Identified by valgrind as: Conditional jump or move depends on uninitialized value(s).
- Loading branch information