зеркало из https://github.com/mozilla/pjs.git
fix for bug#20890 changing function type from void to bool
This commit is contained in:
Родитель
6883c72c0d
Коммит
af4326c5a4
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче