~ubuntu-branches/ubuntu/oneiric/codelite/oneiric

« back to all changes in this revision

Viewing changes to Plugin/editor_config.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-05-27 04:16:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090527041642-0yz67hytd4qnpzka
Tags: 1.0.2841+dfsg-0ubuntu1
* New upstream release (LP: #380732)
* debian/*.lintian-overrides:
  + Drop them, they're pointless anyway
* debian/control,
  debian/rules,
  debian/README.source:
  + Use DH 7.0.50, with override rules instead of CDBS
  + Bump quilt version to 0.46-7 for DH integration
  + Tidy up get-orig-source rule
* debian/patches/01_symlink.patch:
  + Dropped, applied upstream
* debian/patches/03_cstdio-include.patch:
  + Dropped, fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
315
315
                        if (child->GetName() == wxT("File")) {
316
316
                                wxString fileName = XmlUtils::ReadString(child, wxT("Name"));
317
317
                                // wxXmlDocument Saves/Loads items in reverse order, so prepend, not add.
318
 
                                files.Insert(fileName, 0);
 
318
                                if( wxFileExists( fileName) ) files.Insert(fileName, 0);
319
319
                        }
320
320
                        child = child->GetNext();
321
321
                }
356
356
                        if (child->GetName() == wxT("File")) {
357
357
                                wxString fileName = XmlUtils::ReadString(child, wxT("Name"));
358
358
                                // wxXmlDocument Saves/Loads items in reverse order, so prepend, not add.
359
 
                                files.Insert(fileName, 0);
 
359
                                if( wxFileExists( fileName ) ) files.Insert(fileName, 0);
360
360
                        }
361
361
                        child = child->GetNext();
362
362
                }