Changeset 9593


Ignore:
Timestamp:
2005-04-07T16:27:18+12:00 (19 years ago)
Author:
kjdon
Message:

added some x++ -> ++x changes submitted by Emanuel Dejanu

Location:
trunk/gsdl/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/display.cpp

    r9404 r9593  
    520520  int firstparam = 1;
    521521
    522   for (thepair=paramhash.begin();thepair!=paramhash.end(); thepair++)
     522  for (thepair=paramhash.begin();thepair!=paramhash.end(); ++thepair)
    523523    {
    524524      if (!firstparam) paramstring.push_back(',');
  • trunk/gsdl/lib/fileutil.cpp

    r8727 r9593  
    381381  int sindex = 0;
    382382  if (numlinesgot > numlines) sindex = numlinesgot - numlines;
    383   for (int i = sindex; i < numlinesgot; i++) {
     383  for (int i = sindex; i < numlinesgot; ++i) {
    384384    ret += lines[i] + "\n";
    385385  }
  • trunk/gsdl/lib/gsdltools.cpp

    r8727 r9593  
    4848    if (*here == '_' || *here == '\\') outstring.push_back('\\');
    4949    outstring.push_back(*here);
    50     here ++;
     50    ++here;
    5151  }
    5252  return outstring;
  • trunk/gsdl/lib/text_t.cpp

    r8727 r9593  
    2828/*
    2929   $Log$
     30   Revision 1.24  2005/04/07 04:27:18  kjdon
     31   added some x++ -> ++x changes submitted by Emanuel Dejanu
     32
    3033   Revision 1.23  2004/12/02 22:21:34  kjdon
    3134   added some changes made by Emanuel Dejanu (Simple Words)
     
    245248    {
    246249      mult = -1;
    247       here++;
     250      ++here;
    248251    }
    249252      else if (*here == '+')
     
    591594  int count = 0;
    592595  while (first != last) {
    593     if (*first == c) count ++;
    594     first ++;
     596    if (*first == c) ++count;
     597    ++first;
    595598  }
    596599  return count;
Note: See TracChangeset for help on using the changeset viewer.