Changeset 78184 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- Apr 17, 2019 8:26:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/path-win.cpp
r78153 r78184 35 35 #include <iprt/path.h> 36 36 #include <iprt/assert.h> 37 #include <iprt/ctype.h> 37 38 #include <iprt/err.h> 38 39 #include <iprt/ldr.h> … … 682 683 RTUTF16 wszFullPath[RTPATH_MAX]; 683 684 if (GetFullPathNameW(wszCurPath, RTPATH_MAX, wszFullPath, NULL)) 685 { 686 if ( wszFullPath[1] == ':' 687 && RT_C_IS_LOWER(wszFullPath[0])) 688 wszFullPath[0] = RT_C_TO_UPPER(wszFullPath[0]); 689 684 690 rc = RTUtf16ToUtf8Ex(&wszFullPath[0], RTSTR_MAX, &pszPath, cchPath, NULL); 691 } 685 692 else 686 693 rc = RTErrConvertFromWin32(GetLastError());
Note:
See TracChangeset
for help on using the changeset viewer.