char bracket = ' ';
if (m_cursorX > 0)
- bracket = current[(size_t) m_cursorX-1];
+ bracket = current[(size_t) (m_cursorX-1)];
if (bracket == ')' || bracket == ']' || bracket == '}')
{
{
if (current[m] == '\'')
{
- if (m == 0 || current[m-1] != '\\')
+ if (m == 0 || current[(size_t) (m-1)] != '\\')
break;
}
n = m-1;
{
if (current[m] == '\"')
{
- if (m == 0 || current[m-1] != '\\')
+ if (m == 0 || current[(size_t) (m-1)] != '\\')
break;
}
n = m-1;
{
if (current[m] == '\'')
{
- if (m == 0 || (current[m-1] != '\\') || (m >= 2 && current[m-2] == '\\'))
+ if (m == 0 || (current[(size_t) (m-1)] != '\\') || (m >= 2 && current[(size_t) (m-2)] == '\\'))
break;
}
n = m+1;
{
if (current[m] == '\"')
{
- if (m == 0 || (current[m-1] != '\\') || (m >= 2 && current[m-2] == '\\'))
+ if (m == 0 || (current[(size_t) (m-1)] != '\\') || (m >= 2 && current[(size_t) (m-2)] == '\\'))
break;
}
n = m+1;
}
else
{
- if ((line[p] == '/') && (p+1 < len) && (line[p+1] == '/'))
+ if ((line[p] == '/') && (p+1 < len) && (line[(size_t) (p+1)] == '/'))
{
for (size_t q = p; q < len; q++)
ret.Append( line[q] );
for (size_t q = p+1; q < len; q++)
{
ret.Append( line[q] );
- if ((line[q] == '"') && ((line[q-1] != '\\') || (q >= 2 && line[q-2] == '\\')))
+ if ((line[q] == '"') && ((line[(size_t) (q-1)] != '\\') || (q >= 2 && line[(size_t) (q-2)] == '\\')))
break;
}
pos = p;
for (size_t q = p+1; q < len; q++)
{
ret.Append( line[q] );
- if ((line[q] == '\'') && ((line[q-1] != '\\') || (q >= 2 && line[q-2] == '\\')))
+ if ((line[q] == '\'') && ((line[(size_t) (q-1)] != '\\') || (q >= 2 && line[(size_t) (q-2)] == '\\')))
break;
}
pos = p;