fix for bug#20890 changing function type from void to bool
git-svn-id: svn://10.0.0.236/trunk@55687 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -74,13 +74,19 @@ BOOL Config(CString globalsName, CString DialogTitle, WIDGET* curWidget)
|
||||
}
|
||||
|
||||
extern "C" __declspec(dllexport)
|
||||
void NewConfig(CString configname, WIDGET* curWidget)
|
||||
BOOL NewConfig(CString configname, WIDGET* curWidget)
|
||||
{
|
||||
Config(configname,"",curWidget);
|
||||
if (!Config(configname,"",curWidget))
|
||||
return FALSE;
|
||||
else
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
extern "C" __declspec(dllexport)
|
||||
void CopyConfig(CString configname, WIDGET* curWidget)
|
||||
BOOL CopyConfig(CString configname, WIDGET* curWidget)
|
||||
{
|
||||
Config(configname,"Create a Copy",curWidget);
|
||||
if(!Config(configname,"Create a Copy",curWidget))
|
||||
return FALSE;
|
||||
else
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user