Changeset 13554 in vbox
- Timestamp:
- Oct 24, 2008 12:50:39 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38420
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r13552 r13554 1929 1929 * We only care about keys starting with "VBoxInternal/" 1930 1930 */ 1931 Utf8Str strExtraDataKeyUtf8 = Utf8Str(strExtraDataKey);1931 Utf8Str strExtraDataKeyUtf8(strExtraDataKey); 1932 1932 char *pszExtraDataKey = (char *)strExtraDataKeyUtf8.raw(); 1933 if (strncmp(pszExtraDataKey, "VBoxInternal/", 13) != 0)1933 if (strncmp(pszExtraDataKey, "VBoxInternal/", sizeof("VBoxInternal/") - 1) != 0) 1934 1934 continue; 1935 pszExtraDataKey += 13;1935 pszExtraDataKey += sizeof("VBoxInternal/") - 1; 1936 1936 1937 1937 /* … … 1979 1979 * already done above. 1980 1980 */ 1981 Utf8Str strCFGMValueUtf8 = Utf8Str(strExtraDataValue);1981 Utf8Str strCFGMValueUtf8(strExtraDataValue); 1982 1982 const char *pszCFGMValue = strCFGMValueUtf8.raw(); 1983 1983 if ( pszCFGMValue
Note:
See TracChangeset
for help on using the changeset viewer.