Author: dreimer Date: Mon Oct 27 03:29:08 2008 New Revision: 37016
URL: http://svn.reactos.org/svn/reactos?rev=37016&view=rev Log: Sync winefile and write to wine Head.
Added: trunk/rosapps/applications/write/lang/pt-BR.rc (with props) Modified: trunk/rosapps/applications/winfile/winefile.c trunk/rosapps/applications/write/rsrc.rc trunk/rosapps/applications/write/write.c
Modified: trunk/rosapps/applications/winfile/winefile.c URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/winfile/winefi... ============================================================================== --- trunk/rosapps/applications/winfile/winefile.c [iso-8859-1] (original) +++ trunk/rosapps/applications/winfile/winefile.c [iso-8859-1] Mon Oct 27 03:29:08 2008 @@ -1088,7 +1088,7 @@ memset(&entry->data, 0, sizeof(WIN32_FIND_DATA)); 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);
Added: trunk/rosapps/applications/write/lang/pt-BR.rc URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/write/lang/pt-... ============================================================================== --- trunk/rosapps/applications/write/lang/pt-BR.rc (added) +++ trunk/rosapps/applications/write/lang/pt-BR.rc [iso-8859-1] Mon Oct 27 03:29:08 2008 @@ -1,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" +}
Propchange: trunk/rosapps/applications/write/lang/pt-BR.rc ------------------------------------------------------------------------------ svn:eol-style = native
Modified: trunk/rosapps/applications/write/rsrc.rc URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/write/rsrc.rc?... ============================================================================== --- trunk/rosapps/applications/write/rsrc.rc [iso-8859-1] (original) +++ trunk/rosapps/applications/write/rsrc.rc [iso-8859-1] Mon Oct 27 03:29:08 2008 @@ -32,6 +32,7 @@ #include "lang/no-NO.rc" #include "lang/nl-NL.rc" #include "lang/pl-PL.rc" +#include "lang/pt-BR.rc" #include "lang/ro-RO.rc" #include "lang/ru-RU.rc" #include "lang/sl-SI.rc"
Modified: trunk/rosapps/applications/write/write.c URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/write/write.c?... ============================================================================== --- trunk/rosapps/applications/write/write.c [iso-8859-1] (original) +++ trunk/rosapps/applications/write/write.c [iso-8859-1] Mon Oct 27 03:29:08 2008 @@ -45,6 +45,8 @@
if (!CreateProcessW(path, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info)) goto failed; + CloseHandle(info.hProcess); + CloseHandle(info.hThread); return 0;
failed: