Changeset 13871
- Timestamp:
- 05/24/12 15:19:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DimState.h
r13848 r13871 155 155 DimControl() : DimState("DIM_CONTROL") { } 156 156 157 string file; 158 string shortmsg; 159 157 160 void AddCallback(const string &script, const callback &cb) 158 161 { … … 163 166 { 164 167 DimState::Handler(evt); 168 169 shortmsg = msg; 170 file = ""; 165 171 166 172 // Evaluate msg … … 177 183 const size_t p3 = p2==string::npos || p2>p1 ? p1-1 : p2; 178 184 179 const string file = msg.substr(p0+2, p3-p0-2); 185 file = msg.substr(p0+2, p3-p0-2); 186 187 shortmsg.erase(p0, p3-p0); 180 188 181 189 const auto func = fCallbacks.find(file);
Note:
See TracChangeset
for help on using the changeset viewer.