gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx/libcoords Coords.cxx Coords.hxx


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/gfx/libcoords Coords.cxx Coords.hxx
Date: Tue, 01 Oct 2002 06:45:21 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/10/01 06:45:21

Modified files:
        gfx/libcoords  : Coords.cxx Coords.hxx 

Log message:
        Small fixes. xupdf ALMOST works again

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libcoords/Coords.cxx.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libcoords/Coords.hxx.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: gzz/gfx/libcoords/Coords.cxx
diff -c gzz/gfx/libcoords/Coords.cxx:1.24 gzz/gfx/libcoords/Coords.cxx:1.25
*** gzz/gfx/libcoords/Coords.cxx:1.24   Tue Oct  1 06:33:13 2002
--- gzz/gfx/libcoords/Coords.cxx        Tue Oct  1 06:45:21 2002
***************
*** 83,89 ****
            if(!t.performGL()) return false;
            return super->performGL();
        }
!       void setOriginal(CoordSys *orig) { inverse = orig; }
  
      };
  
--- 83,89 ----
            if(!t.performGL()) return false;
            return super->performGL();
        }
!       void setOriginal(CoordSys *orig) { inverse = orig; ownInverse = 0;}
  
      };
  
Index: gzz/gfx/libcoords/Coords.hxx
diff -c gzz/gfx/libcoords/Coords.hxx:1.10 gzz/gfx/libcoords/Coords.hxx:1.11
*** gzz/gfx/libcoords/Coords.hxx:1.10   Tue Oct  1 03:55:44 2002
--- gzz/gfx/libcoords/Coords.hxx        Tue Oct  1 06:45:21 2002
***************
*** 12,18 ****
--- 12,22 ----
      protected:
        CoordSys *super;
        CoordSys *inverse;
+       bool ownInverse;
      public:
+       CoordSys() : super(0), inverse(0), ownInverse(1) {
+       }
+ 
        virtual void setSuper(CoordSys *super) {
            this->super = super;
        }
***************
*** 73,82 ****
         */
        virtual bool performGL() ;
  
-       CoordSys() : super(0), inverse(0) {
-       }
        virtual ~CoordSys() { 
!           if(inverse) delete inverse;
        }
  
        virtual void dump() {
--- 77,84 ----
         */
        virtual bool performGL() ;
  
        virtual ~CoordSys() { 
!           if(inverse && ownInverse) delete inverse;
        }
  
        virtual void dump() {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]