Changeset 29208 in vbox for trunk/src/VBox/Main/generic
- Timestamp:
- May 7, 2010 1:09:51 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61285
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/generic/OpenGLTest.cpp
r28800 r29208 38 38 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 39 39 rc = RTPathAppend(pszVBoxPath, RTPATH_MAX, "VBoxTestOGL.exe"); 40 static char pszVBoxPathArg[RTPATH_MAX];41 pszVBoxPathArg[0] = '"';42 strcpy(pszVBoxPathArg+1, pszVBoxPath);43 char *pszPathEnd = (char *)memchr(pszVBoxPathArg, '\0', RTPATH_MAX);44 pszPathEnd[0] = '"';45 pszPathEnd[1] = '\0';46 papszArgs[0] = pszVBoxPathArg; /* argv[0] */47 40 #else 48 41 rc = RTPathAppend(pszVBoxPath, RTPATH_MAX, "VBoxTestOGL"); 42 #endif 49 43 papszArgs[0] = pszVBoxPath; /* argv[0] */ 50 #endif51 44 AssertRCReturn(rc, false); 52 45
Note:
See TracChangeset
for help on using the changeset viewer.