int nEols = 0;
if (nLength > 1 && IsDosEol(&pszLine[nLength - 2]))
nEols = 2;
- else if (nLength && IsEol(pszLine[nLength - 1]))
+ else if (IsEol(pszLine[nLength - 1]))
nEols = 1;
ASSERT (static_cast<size_t>(nEols) <= m_nLength);
m_nLength -= nEols;
else
{
bool bFunction = false;
-
- if (!bFunction)
+ for (int j = I; j >= 0; j--)
{
- for (int j = I; j >= 0; j--)
+ if (!xisspace (pszChars[j]))
{
- if (!xisspace (pszChars[j]))
+ if (pszChars[j] == '$')
{
- if (pszChars[j] == '$')
- {
- bFunction = true;
- }
- break;
+ bFunction = true;
}
+ break;
}
}
if (bFunction)
else
{
bool bFunction = false;
-
- if (!bFunction)
+ for (int j = I; j >= 0; j--)
{
- for (int j = I; j >= 0; j--)
+ if (!xisspace (pszChars[j]))
{
- if (!xisspace (pszChars[j]))
+ if (pszChars[j] == '$')
{
- if (pszChars[j] == '$')
- {
- bFunction = true;
- }
- break;
+ bFunction = true;
}
+ break;
}
}
if (bFunction)