Unverified Commit 2f97feb0 authored by Marco Buttu's avatar Marco Buttu Committed by GitHub
Browse files

Merge pull request #786 from discos/fix-issue-785

Fix issue 785
parents 0fb8889b 464aeecf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ CBaseSchedule::~CBaseSchedule()
bool CBaseSchedule::readAll(bool check)
{
	IRA::CString err;
	if (m_fileName.GetLength()>MAX_SCHED_NAME_LEN) {
	if (m_baseName.GetLength()>MAX_SCHED_NAME_LEN) {
		m_lastError.Format("Schedule name exceeds the maximum allowed characters of %d",MAX_SCHED_NAME_LEN);
		return false;
	}