File: pstoedit.2.60.idraw.patch

package info (click to toggle)
ivtools-doc 0.7.10-1
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 13,436 kB
  • ctags: 15,900
  • sloc: ansic: 687; sh: 139; makefile: 41; cpp: 24
file content (19 lines) | stat: -rw-r--r-- 743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** drvidraw.cpp.org	Wed Mar 25 22:28:46 1998
--- drvidraw.cpp	Wed Mar 25 22:29:16 1998
***************
*** 858,864 ****
      numpoints = totalpoints==1 ? 1 : totalpoints-1;
      print_header("Poly");               // Output a polygon
      outf << "%I " << numpoints << endl;
!     for (i=0; i<pathelts-1; i++) {
        outf << iscale(pointlist[i]->x_) << ' ';
        outf << iscale(pointlist[i]->y_) << endl;
      }
--- 858,864 ----
      numpoints = totalpoints==1 ? 1 : totalpoints-1;
      print_header("Poly");               // Output a polygon
      outf << "%I " << numpoints << endl;
!     for (i=0; i<totalpoints; i++) {
        outf << iscale(pointlist[i]->x_) << ' ';
        outf << iscale(pointlist[i]->y_) << endl;
      }