Skip to content

Commit

Permalink
Update raster/r.info/main.c
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
kritibirda26 and github-actions[bot] authored May 28, 2024
1 parent 819e55c commit 61161ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion raster/r.info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,8 @@ int main(int argc, char **argv)
JSON_Array *comments = json_array(comments_value);
if (Rast_history_length(&hist)) {
for (i = 0; i < Rast_history_length(&hist); i++) {
json_array_append_string(comments, Rast_history_line(&hist, i));
json_array_append_string(
comments, Rast_history_line(&hist, i));
}
}
json_object_set_value(root_object, "comments",
Expand Down

0 comments on commit 61161ea

Please sign in to comment.