forked from mirror/openmw-tes3mp
Escape content file names before sending them to the GUI
This commit is contained in:
parent
20310cf5c6
commit
1578fcbec7
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <iosfwd>
|
||||
#include <iostream>
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <MyGUI_TextIterator.h>
|
||||
|
||||
#include "components/loadinglistener/loadinglistener.hpp"
|
||||
|
||||
|
@ -24,7 +25,7 @@ struct ContentLoader
|
|||
virtual void load(const boost::filesystem::path& filepath, int& index)
|
||||
{
|
||||
std::cout << "Loading content file " << filepath.string() << std::endl;
|
||||
mListener.setLabel(filepath.string());
|
||||
mListener.setLabel(MyGUI::TextIterator::toTagsString(filepath.string()));
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue