~ubuntu-branches/ubuntu/intrepid/grass/intrepid

« back to all changes in this revision

Viewing changes to ps/ps.map/r_vpoints.c

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2008-04-06 17:08:21 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080406170821-7l3d3ulh4g8crwcs
Tags: 6.2.3-2.1
* NMU during credativ BSP 2008
* using patch from Moritz Muehlenhoff <jmm@inutil.org> to fix
  FTBFS with GCC 4.3: missing #includes
  (closes: #461673)

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
                *cc = '\0';
215
215
                vector.layer[vec].epssuf = G_store(cc + sizeof(char));
216
216
                vector.layer[vec].epstype = 2;
217
 
            }
218
 
            printf ("epstype=%d, pre=%s, suf=%s\n", vector.layer[vec].epstype,
219
 
                vector.layer[vec].epspre, vector.layer[vec].epssuf);
220
217
 
 
218
                G_debug(2, "epstype=%d, pre=[%s], suf=[%s]", vector.layer[vec].epstype,
 
219
                    vector.layer[vec].epspre, vector.layer[vec].epssuf);
 
220
            }
 
221
            else
 
222
            {
 
223
                G_debug(2, "epstype=%d, eps file=[%s]", vector.layer[vec].epstype,
 
224
                    vector.layer[vec].epspre);
 
225
            }
221
226
            continue;
222
227
        }       
223
228
 
254
259
        {
255
260
            if (sscanf(data, "%lf", &rotate) != 1)
256
261
            {
257
 
                size = 0.0;
258
 
                error(key, data, "illegal size request (vpoints)");
 
262
                rotate = 0.0;
 
263
                error(key, data, "illegal rotation request (vpoints)");
259
264
            }
260
265
            vector.layer[vec].rotate = rotate;
261
266
            continue;