Changed: Unimplemented functions

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent b66b85cefd
commit 995ea1e64f

@ -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);

@ -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;

Loading…
Cancel
Save