Browse Source

compile on windows

David Rose 21 years ago
parent
commit
96ffce27d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/qpgeomPrimitive.cxx

+ 1 - 1
panda/src/gobj/qpgeomPrimitive.cxx

@@ -376,7 +376,7 @@ decompose() {
   }
 
   result = decompose_impl();
-  if (result == this) {
+  if (result.p() == this) {
     // decomposing this primitive has no effect.
     return this;
   }