mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +00:00
Revert the sync.
We only can safely sync up to r46941. svn path=/branches/header-work/; revision=47096
This commit is contained in:
parent
69b36d050f
commit
cd5c660bf9
630 changed files with 12122 additions and 27955 deletions
|
@ -703,7 +703,7 @@ VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, UINT cusor)
|
|||
LastSpace = i;
|
||||
|
||||
}
|
||||
/* insert the quotation and move things around */
|
||||
/* insert the quoation and move things around */
|
||||
if(szPrefix[LastSpace + 1] != _T('\"') && LastSpace != -1)
|
||||
{
|
||||
memmove ( &szPrefix[LastSpace+1], &szPrefix[LastSpace], (_tcslen(szPrefix)-LastSpace+1) * sizeof(TCHAR) );
|
||||
|
@ -712,17 +712,14 @@ VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, UINT cusor)
|
|||
{
|
||||
_tcscat(szPrefix,_T("\""));
|
||||
}
|
||||
szPrefix[LastSpace + 1] = _T('\"');
|
||||
szPrefix[LastSpace + 1] = _T('\"');
|
||||
}
|
||||
else if(LastSpace == -1)
|
||||
{
|
||||
/* Add quotation only if none exists already */
|
||||
if (szPrefix[0] != _T('\"'))
|
||||
{
|
||||
_tcscpy(szBaseWord,_T("\""));
|
||||
_tcscat(szBaseWord,szPrefix);
|
||||
_tcscpy(szPrefix,szBaseWord);
|
||||
}
|
||||
_tcscpy(szBaseWord,_T("\""));
|
||||
_tcscat(szBaseWord,szPrefix);
|
||||
_tcscpy(szPrefix,szBaseWord);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue