Skip to content

Commit 1031cc9

Browse files
authored
d.legend.vect: Fix Uninitialized Variable Issue in draw.c (OSGeo#6177)
1 parent 43db0c8 commit 1031cc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

display/d.legend.vect/draw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ void draw(char *file_name, double LL, double LT, char *title, int cols,
5353
/* Draw title */
5454
title_h = 0;
5555
title_w = 0;
56+
row_ind = 0.0;
5657
if (strlen(title) > 0) {
5758
D_font(tit_font);
5859
D_text_size(tit_size, tit_size);

0 commit comments

Comments
 (0)