|
@@ -482,9 +482,10 @@ int main(int argc, char *argv[])
|
|
|
fprintf(out, "description=");
|
|
|
fprintf(out, "\"%s\"\n", Rast_get_history(&hist, HIST_KEYWRD));
|
|
|
if (Rast_history_length(&hist)) {
|
|
|
+ fprintf(out, "comments=\"", i);
|
|
|
for (i = 0; i < Rast_history_length(&hist); i++)
|
|
|
- fprintf(out, "comments_%d=", i);
|
|
|
- fprintf(out, "\"%s\"\n", Rast_history_line(&hist, i));
|
|
|
+ fprintf(out, "%s", Rast_history_line(&hist, i));
|
|
|
+ fprintf(out, "\"\n");
|
|
|
}
|
|
|
}
|
|
|
else {
|