Changeset 66984


Ignore:
Timestamp:
Nov 30, 2015, 12:22:14 AM (9 years ago)
Author:
jachym
Message:

Comments in shell script written according to r.info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/raster3d/r3.info/main.c

    r66983 r66984  
    483483                fprintf(out, "\"%s\"\n", Rast_get_history(&hist, HIST_KEYWRD));
    484484                if (Rast_history_length(&hist)) {
     485                    fprintf(out, "comments=\"", i);
    485486                    for (i = 0; i < Rast_history_length(&hist); i++)
    486                         fprintf(out, "comments_%d=", i);
    487                         fprintf(out, "\"%s\"\n", Rast_history_line(&hist, i));
     487                        fprintf(out, "%s", Rast_history_line(&hist, i));
     488                    fprintf(out, "\"\n");
    488489                }
    489490            }
Note: See TracChangeset for help on using the changeset viewer.