summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a336f99)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16947
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
char bracket = ' ';
if (m_cursorX > 0)
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 (bracket == ')' || bracket == ']' || bracket == '}')
{
{
if (current[m] == '\'')
{
{
if (current[m] == '\'')
{
- if (m == 0 || current[m-1] != '\\')
+ if (m == 0 || current[(size_t) (m-1)] != '\\')
{
if (current[m] == '\"')
{
{
if (current[m] == '\"')
{
- if (m == 0 || current[m-1] != '\\')
+ if (m == 0 || current[(size_t) (m-1)] != '\\')
{
if (current[m] == '\'')
{
{
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)] == '\\'))
{
if (current[m] == '\"')
{
{
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)] == '\\'))
- 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; q < len; q++)
ret.Append( line[q] );
for (size_t q = p+1; 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)] == '\\')))
for (size_t q = p+1; 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)] == '\\')))