Skip to content

Commit a858662

Browse files
authored
d.labels: Fix uninitialized variable issue in do_labels.c (OSGeo#5604)
1 parent c7ccd91 commit a858662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

display/d.labels/do_labels.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ int show_it(void)
223223
/* get the box size for each line of text and expand the bounding box as
224224
* needed */
225225
n_lines = 0;
226+
Y = north - (line_size * 1.2);
226227
for (;;) {
227228
n_chars = 0;
228229

0 commit comments

Comments
 (0)