Browse Source

Add name.

aignacio_sf 17 years ago
parent
commit
30ff415599
2 changed files with 3 additions and 0 deletions
  1. 1 0
      panda/src/display/lru.cxx
  2. 2 0
      panda/src/display/lru.h

+ 1 - 0
panda/src/display/lru.cxx

@@ -150,6 +150,7 @@ LruPage::LruPage ( )
 {
 {
   if(this) {
   if(this) {
     memset(&this->_m, 0, sizeof (LruPageVariables));
     memset(&this->_m, 0, sizeof (LruPageVariables));
+    _m.name = "";   
   }
   }
 }
 }
 
 

+ 2 - 0
panda/src/display/lru.h

@@ -121,6 +121,8 @@ public:
     LruPage *previous;
     LruPage *previous;
     LruPage *next;
     LruPage *next;
     Lru *lru;
     Lru *lru;
+    
+    string name;
   }
   }
   LruPageVariables;
   LruPageVariables;