Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnModel.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.34 by maloninc, Mon Oct 23 08:00:09 2006 UTC revision 1.35 by maloninc, Tue Oct 24 05:53:29 2006 UTC
# Line 118  void mnModel::readAll(bool progBarFlag) Line 118  void mnModel::readAll(bool progBarFlag)
118      wxString*   fileName = new wxString();      wxString*   fileName = new wxString();
119          char*       tokenList[MAX_TOKEN];          char*       tokenList[MAX_TOKEN];
120          bool        cont;          bool        cont;
121          wxProgressDialog* progBar;          wxProgressDialog* progBar = NULL;
122    
123          memset(tokenList, 0, sizeof(char*)*MAX_TOKEN);          memset(tokenList, 0, sizeof(char*)*MAX_TOKEN);
124          tokenList[0] = "";          tokenList[0] = "";
# Line 149  void mnModel::readAll(bool progBarFlag) Line 149  void mnModel::readAll(bool progBarFlag)
149          cont = dir->GetNext(fileName);          cont = dir->GetNext(fileName);
150          }          }
151    
152          delete progBar;          if (progBarFlag) {
153                    delete progBar;
154            }
155          delete dir;          delete dir;
156          delete fileName;          delete fileName;
157  }  }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26