far/PluginA.cpp
static auto CurrentDialogItemA(HANDLE hDlg, int ItemNumber)
{
	const auto current = FindDialogData(hDlg);
	return current ? &current->diA[ItemNumber] : nullptr;
}
// can be nullptr in case of the ansi dialog plugin
can be nullptr in case of the ansi dialog plugin
can be nullptr in case of the ansi dialog plugin
static auto CurrentDialogItemA(HANDLE hDlg, int ItemNumber)
{
	const auto current = FindDialogData(hDlg);
	return current ? &current->diA[ItemNumber] : nullptr;
}
static auto CurrentDialogItemA ( HANDLE hDlg , int ItemNumber ) { const auto current = FindDialogData ( hDlg ) ; return current ? & current -> diA [ ItemNumber ] : nullptr ; }
can be nullptr in case of the ansi dialog plugin
can be nullptr in case of the ansi dialog plugin