Changed: Unimplemented functions

This commit is contained in:
kervala 2016-12-09 16:04:50 +01:00
parent 914980875b
commit a905001849
2 changed files with 3 additions and 4 deletions

View file

@ -429,8 +429,6 @@ static CDBCtrlSheet *CurrentStackDst= NULL;
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);

View file

@ -1671,8 +1671,9 @@ BOOL CDialogProperties::OnCommand(WPARAM wParam, LPARAM lParam)
text += "\n";
}
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 ()))
{
widget->Default = false;