Changeset 60045 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 15, 2016 8:37:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r60010 r60045 2532 2532 BOOL fEnabledSerPort = FALSE; 2533 2533 if (serialPort) 2534 { 2534 2535 hrc = serialPort->COMGETTER(Enabled)(&fEnabledSerPort); H(); 2536 } 2535 2537 if (!fEnabledSerPort) 2536 2538 continue; … … 2669 2671 hrc = pMachine->COMGETTER(AudioAdapter)(audioAdapter.asOutParam()); H(); 2670 2672 if (audioAdapter) 2673 { 2671 2674 hrc = audioAdapter->COMGETTER(Enabled)(&fAudioEnabled); H(); 2675 } 2672 2676 2673 2677 if (fAudioEnabled) … … 4706 4710 pos = ppos = 0; 4707 4711 #define ITERATE_TO_NEXT_TERM(res, str, pos, ppos) \ 4708 do{ \4712 { \ 4709 4713 pos = str.find(",", ppos); \ 4710 4714 if (pos == Utf8Str::npos) \ … … 4716 4720 Log2((#res " %s pos:%d, ppos:%d\n", res.c_str(), pos, ppos)); \ 4717 4721 ppos = pos + 1; \ 4718 } while (0)4722 } /* no do { ... } while because of 'continue' */ 4719 4723 ITERATE_TO_NEXT_TERM(strName, utf, pos, ppos); 4720 4724 ITERATE_TO_NEXT_TERM(strProto, utf, pos, ppos);
Note:
See TracChangeset
for help on using the changeset viewer.