Commit c1e5e336 authored by Oleg Korshul's avatar Oleg Korshul

min command length

parent 8c751544
...@@ -1205,6 +1205,9 @@ namespace NSDoctRenderer ...@@ -1205,6 +1205,9 @@ namespace NSDoctRenderer
bool ExecuteCommand(const std::wstring& command) bool ExecuteCommand(const std::wstring& command)
{ {
if (command.length() < 7) // minimum command (!!!)
return true;
Init(); Init();
if (-1 == m_nFileType) if (-1 == m_nFileType)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment