Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 23, 2008, 11:10:22 PM (16 years ago)
Author:
landauf
Message:

removed multi-command parsing (~pipe) in CommandExecutor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/util/String.cc

    r1111 r1149  
    272272std::string removeSlashes(const std::string& str)
    273273{
    274     if (str.size() == 0)
     274    if (str.size() <= 1)
    275275        return str;
    276     else if (str.size() == 1)
    277     {
    278       //TODO: decide whether we need the commented code
    279       /*if (str[0] != '\\')
    280         return "";
    281       else*/
    282       return str;
    283     }
    284276
    285277    std::string output = "";
Note: See TracChangeset for help on using the changeset viewer.