Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2008, 4:30:15 AM (16 years ago)
Author:
landauf
Message:

removed some other (potential) bugs or dangerous code lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/TclBind.cc

    r1416 r1438  
    110110
    111111        if (!CommandExecutor::execute(command, false))
     112        {
    112113            COUT(1) << "Error: Can't execute command \"" << command << "\"!" << std::endl;
     114        }
    113115
    114116        if (CommandExecutor::getLastEvaluation().hasReturnvalue())
     
    124126
    125127        if (!CommandExecutor::execute(command, false))
     128        {
    126129            COUT(1) << "Error: Can't execute command \"" << command << "\"!" << std::endl;
     130        }
    127131    }
    128132
     
    133137            std::string output = TclBind::getInstance().interpreter_->eval(tclcode);
    134138            if (output != "")
     139            {
    135140                COUT(0) << "tcl> " << output << std::endl;
     141            }
    136142            return output;
    137143        }
Note: See TracChangeset for help on using the changeset viewer.