mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
Sync winefile and write to wine Head.
svn path=/trunk/; revision=37016
This commit is contained in:
parent
de3d502ca5
commit
7d97d478db
4 changed files with 30 additions and 1 deletions
|
@ -1088,7 +1088,7 @@ static void read_directory_shell(Entry* dir, HWND hwnd)
|
||||||
memset(&entry->data, 0, sizeof(WIN32_FIND_DATA));
|
memset(&entry->data, 0, sizeof(WIN32_FIND_DATA));
|
||||||
entry->bhfi_valid = FALSE;
|
entry->bhfi_valid = FALSE;
|
||||||
|
|
||||||
attribs = ~SFGAO_FILESYSTEM; /*SFGAO_HASSUBFOLDER|SFGAO_FOLDER; SFGAO_FILESYSTEM sorgt dafür, daß "My Documents" anstatt von "Martin's Documents" angezeigt wird */
|
attribs = ~SFGAO_FILESYSTEM; /*SFGAO_HASSUBFOLDER|SFGAO_FOLDER; SFGAO_FILESYSTEM sorgt dafür, daß "My Documents" anstatt von "Martin's Documents" angezeigt wird */
|
||||||
|
|
||||||
hr = IShellFolder_GetAttributesOf(folder, 1, (LPCITEMIDLIST*)&pidls[n], &attribs);
|
hr = IShellFolder_GetAttributesOf(folder, 1, (LPCITEMIDLIST*)&pidls[n], &attribs);
|
||||||
|
|
||||||
|
|
26
rosapps/applications/write/lang/pt-BR.rc
Normal file
26
rosapps/applications/write/lang/pt-BR.rc
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
/*
|
||||||
|
* Portuguese language support
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008 Ricardo Filipe
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
|
STRINGTABLE
|
||||||
|
{
|
||||||
|
IDS_FAILED, "Falhou ao iniciar o Wordpad"
|
||||||
|
}
|
|
@ -32,6 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
#include "lang/no-NO.rc"
|
#include "lang/no-NO.rc"
|
||||||
#include "lang/nl-NL.rc"
|
#include "lang/nl-NL.rc"
|
||||||
#include "lang/pl-PL.rc"
|
#include "lang/pl-PL.rc"
|
||||||
|
#include "lang/pt-BR.rc"
|
||||||
#include "lang/ro-RO.rc"
|
#include "lang/ro-RO.rc"
|
||||||
#include "lang/ru-RU.rc"
|
#include "lang/ru-RU.rc"
|
||||||
#include "lang/sl-SI.rc"
|
#include "lang/sl-SI.rc"
|
||||||
|
|
|
@ -45,6 +45,8 @@ int CALLBACK wWinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPWSTR szCmdP
|
||||||
|
|
||||||
if (!CreateProcessW(path, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info))
|
if (!CreateProcessW(path, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info))
|
||||||
goto failed;
|
goto failed;
|
||||||
|
CloseHandle(info.hProcess);
|
||||||
|
CloseHandle(info.hThread);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue