VirtualBox

Changeset 23286 in vbox for trunk


Ignore:
Timestamp:
Sep 24, 2009 3:01:36 PM (15 years ago)
Author:
vboxsync
Message:

simplification to r52775

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r23285 r23286  
    525525        Utf8Str str;
    526526        const char *pszDisplay = RTEnvGet("DISPLAY");
    527         if (pszDisplay)
    528             str.append(Utf8StrFmt("DISPLAY=%s\n", pszDisplay));
     527        str = Utf8StrFmt("DISPLAY=%s\n", pszDisplay);
    529528        const char *pszXAuth = RTEnvGet("XAUTHORITY");
    530529        if (pszXAuth)
    531530            str.append(Utf8StrFmt("XAUTHORITY=%s\n", pszXAuth));
    532         env = Bstr(str);
     531        env = str;
    533532#endif
    534533        ComPtr<IProgress> progress;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette