diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/MapInfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/MapInfo.c b/generic/MapInfo.c index 24678df..1cffe99 100644 --- a/generic/MapInfo.c +++ b/generic/MapInfo.c @@ -324,7 +324,6 @@ ZnMapInfoAddLine(ZnMapInfoId map_info, if (line_style == ZnMapInfoLineMarked) { ComputeLineMarks(&line_struct); } - ZnListAdd(cur_map->lines, &line_struct, index); } } @@ -411,7 +410,7 @@ ZnMapInfoGetLine(ZnMapInfoId map_info, *line_style = line_ptr->style; } if (line_width) { - *line_width = line_ptr->width; + *line_width = (ZnDim) line_ptr->width; } if (x_from) { *x_from = line_ptr->from.x; |