Changed: Unimplemented functions

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-09 16:04:50 +01:00
parent b66b85cefd
commit 995ea1e64f
2 changed files with 3 additions and 4 deletions

View file

@ -429,8 +429,6 @@ static CDBCtrlSheet *CurrentStackDst= NULL;
static TStackMode CurrentStackMode; static TStackMode CurrentStackMode;
static void putStackableInventoryItemToExchange(CDBCtrlSheet *src, CDBCtrlSheet *dest, uint quantity);
static void putStackableExchangedItemToInventory(CDBCtrlSheet *src, CDBCtrlSheet *dest, uint quantity);
static void validateStackItem(CDBCtrlSheet *src, CDBCtrlSheet *dest, sint32 quantity, TStackMode stackMode); static void validateStackItem(CDBCtrlSheet *src, CDBCtrlSheet *dest, sint32 quantity, TStackMode stackMode);

View file

@ -1671,8 +1671,9 @@ BOOL CDialogProperties::OnCommand(WPARAM wParam, LPARAM lParam)
text += "\n"; text += "\n";
} }
CConfigFile::CVar *var = getMainFrame ()->getConfigFile().getVarPtr ("TextEditor"); CConfigFile::CVar *var = getMainFrame ()->getConfigFile().getVarPtr ("TextEditor");
char windows[512];
GetWindowsDirectory (windows, sizeof (windows)); std::string windows = CPath::getWindowsDirectory();
if (EditExternalText (var?var->asString():windows+string ("/notepad.exe"), text, widget->Parameter.FileExtension.c_str ())) if (EditExternalText (var?var->asString():windows+string ("/notepad.exe"), text, widget->Parameter.FileExtension.c_str ()))
{ {
widget->Default = false; widget->Default = false;