Changeset 14974 for trunk/FACT++/src


Ignore:
Timestamp:
03/04/13 11:11:50 (12 years ago)
Author:
tbretz
Message:
A small change to the way a JS exception is output, to make it look nicer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/RemoteControl.h

    r14872 r14974  
    169169    void  JsPrint(const std::string &msg)     { if (fImp) fImp->Comment(msg.empty()?" ":msg); }
    170170    void  JsAlarm(const std::string &msg)     { if (fImp) fImp->Alarm(msg.empty()?" ":msg); }
    171     void  JsException(const std::string &str) { if (fImp) fImp->Error(str.empty()?" ":('|'+str)); }
     171    void  JsException(const std::string &str) { if (fImp) fImp->Error(str.empty()?"|":("| "+str)); }
    172172    bool  JsHasState(int s) const             { return fImp && fImp->HasState(s); }
    173173    bool  JsHasState(const string &n) const   { return fImp && (fImp->GetStateIndex(n)!=StateMachineImp::kSM_NotAvailable); }
Note: See TracChangeset for help on using the changeset viewer.