fixed broken loading of single files into the editor

This commit is contained in:
Marc Zinnschlag 2013-03-21 12:13:32 +01:00
parent ebb1dab8e1
commit cafbabde45

View file

@ -214,7 +214,7 @@ CSMDoc::Document::Document (const std::vector<boost::filesystem::path>& files, b
if (new_ && files.size()==1) if (new_ && files.size()==1)
createBase(); createBase();
else if (files.size()>1) else
{ {
std::vector<boost::filesystem::path>::const_iterator end = files.end(); std::vector<boost::filesystem::path>::const_iterator end = files.end();