~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to vector/v.digit/i_face.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
{
80
80
    int i;
81
81
    char val[1000];
 
82
    char temp[1000];
82
83
 
83
84
    G_debug(4, "i_new_line_options(), create = %d", create);
84
85
 
88
89
        /* Set cat mode */
89
90
        sprintf(val, "$GWidget(cat_mode) configure -values [list");
90
91
        for (i = 0; i < CAT_MODE_COUNT; i++) {
91
 
            sprintf(val, "%s \"%s\"", val, CatModeLab[i]);
 
92
            sprintf(temp, " \"%s\"", CatModeLab[i]);
 
93
            strcat(val, temp);
92
94
        }
93
 
        sprintf(val, "%s]", val);
 
95
        strcat(val, "]");
94
96
 
95
97
        G_debug(2, "Cat modes: %s", val);
96
98
        Tcl_Eval(Toolbox, val);