Changeset 13732
- Timestamp:
- 05/15/12 08:42:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/RemoteControl.h
r13715 r13732 220 220 T::GetStreamOut().SetBacklog(true); 221 221 222 if (T::GetLabel()!= 0&& l->second->GetState()!=state)222 if (T::GetLabel()!=-2 && l->second->GetState()!=state) 223 223 { 224 224 int label = -1; 225 225 in >> label; 226 T::SetLabel(label); 226 if (in.fail() && !in.eof()) 227 { 228 lout << kRed << "Invalid label in '" << str.substr(3) << "'" << endl; 229 label = -2; 230 } 231 else 232 T::SetLabel(label); 227 233 } 228 234
Note:
See TracChangeset
for help on using the changeset viewer.