winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
August 2006
----- 2025 -----
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
5 participants
746 discussions
Start a n
N
ew thread
Krzysztof Foltman : riched20: Make EM_LINELENGTH work correctly for non-final paragraphs containing exactly one screen line .
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: f07740b28be46ce0420eea4436e616b5dc8fee34 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=f07740b28be46ce0420eea4…
Author: Krzysztof Foltman <wdev(a)foltman.com> Date: Thu Aug 3 20:37:45 2006 +0200 riched20: Make EM_LINELENGTH work correctly for non-final paragraphs containing exactly one screen line. --- dlls/riched20/editor.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index c636023..7389407 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2154,8 +2154,8 @@ LRESULT WINAPI RichEditANSIWndProc(HWND item = ME_FindItemAtOffset(editor, diRun, wParam, NULL); item = ME_RowStart(item); nThisLineOfs = ME_CharOfsFromRunOfs(editor, ME_FindItemFwd(item, diRun), 0); - item_end = ME_FindItemFwd(item, diStartRow); - if (item_end) + item_end = ME_FindItemFwd(item, diStartRowOrParagraphOrEnd); + if (item_end->type == diStartRow) nNextLineOfs = ME_CharOfsFromRunOfs(editor, ME_FindItemFwd(item_end, diRun), 0); else nNextLineOfs = ME_FindItemFwd(item, diParagraphOrEnd)->member.para.nCharOfs
1
0
0
0
Krzysztof Foltman : riched20: Make EM_GETLINE work properly in 1. 0 emulation mode.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 9667a891ffb769f2f0bdc0f7362122fe97d2025d URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=9667a891ffb769f2f0bdc0f…
Author: Krzysztof Foltman <wdev(a)foltman.com> Date: Thu Aug 3 20:35:01 2006 +0200 riched20: Make EM_GETLINE work properly in 1.0 emulation mode. --- dlls/riched20/editor.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 99422e2..c636023 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2048,6 +2048,9 @@ LRESULT WINAPI RichEditANSIWndProc(HWND const unsigned int nMaxChars = *(WORD *) lParam; unsigned int nEndChars, nCharsLeft = nMaxChars; char *dest = (char *) lParam; + /* rich text editor 1.0 uses \r\n for line end, 2.0 uses just \r; + we need to know how if we have the extra \n or not */ + int nLF = editor->bEmulateVersion10; TRACE("EM_GETLINE: row=%d, nMaxChars=%d (%s)\n", (int) wParam, nMaxChars, bUnicode ? "Unicode" : "Ansi"); @@ -2075,20 +2078,21 @@ LRESULT WINAPI RichEditANSIWndProc(HWND nCharsLeft -= nCopy; } - /* append \r\0, space allowing */ - nEndChars = min(nCharsLeft, 2); + /* append \r\0 (or \r\n\0 in 1.0), space allowing */ + nEndChars = min(nCharsLeft, 2 + nLF); nCharsLeft -= nEndChars; if (bUnicode) { const WCHAR src[] = {'\r', '\0'}; - lstrcpynW((LPWSTR) dest, src, nEndChars); + const WCHAR src10[] = {'\r', '\n', '\0'}; + lstrcpynW((LPWSTR) dest, nLF ? src10 : src, nEndChars); } else - lstrcpynA(dest, "\r", nEndChars); + lstrcpynA(dest, nLF ? "\r\n" : "\r", nEndChars); TRACE("EM_GETLINE: got %u bytes\n", nMaxChars - nCharsLeft); - if (nEndChars == 2) + if (nEndChars == 2 + nLF) return nMaxChars - nCharsLeft - 1; /* don't count \0 */ else return nMaxChars - nCharsLeft;
1
0
0
0
Krzysztof Foltman : riched20: Ctrl+A should be allowed in read-only controls too.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 5f32291ace3f56884a5cb6d5affc1907bac62425 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=5f32291ace3f56884a5cb6d…
Author: Krzysztof Foltman <wdev(a)foltman.com> Date: Thu Aug 3 19:53:54 2006 +0200 riched20: Ctrl+A should be allowed in read-only controls too. --- dlls/riched20/editor.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 72a6a78..99422e2 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -2302,6 +2302,9 @@ LRESULT WINAPI RichEditANSIWndProc(HWND switch (wstr) { + case 1: /* Ctrl-A */ + ME_SetSelection(editor, 0, -1); + return 0; case 3: /* Ctrl-C */ SendMessageW(editor->hWnd, WM_COPY, 0, 0); return 0; @@ -2314,9 +2317,6 @@ LRESULT WINAPI RichEditANSIWndProc(HWND switch (wstr) { - case 1: /* Ctrl-A */ - ME_SetSelection(editor, 0, -1); - return 0; case 22: /* Ctrl-V */ SendMessageW(editor->hWnd, WM_PASTE, 0, 0); return 0;
1
0
0
0
Jacek Caban : mshtml: Added nsInputStream::Read implementation.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 0fbb175d64da106bcc8d7c92e745bee4d518854d URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=0fbb175d64da106bcc8d7c9…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu Aug 3 21:38:08 2006 +0200 mshtml: Added nsInputStream::Read implementation. --- dlls/mshtml/navigate.c | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c index 8dc4a14..ecd8333 100644 --- a/dlls/mshtml/navigate.c +++ b/dlls/mshtml/navigate.c @@ -108,8 +108,19 @@ static nsresult NSAPI nsInputStream_Read PRUint32 *_retval) { nsProtocolStream *This = NSINSTREAM_THIS(iface); - FIXME("(%p)->(%p %ld %p)\n", This, aBuf, aCount, _retval); - return NS_ERROR_NOT_IMPLEMENTED; + + TRACE("(%p)->(%p %ld %p)\n", This, aBuf, aCount, _retval); + + /* Gecko always calls Read with big enough buffer */ + if(aCount < This->buf_size) + FIXME("aCount < This->buf_size\n"); + + *_retval = This->buf_size; + if(This->buf_size) + memcpy(aBuf, This->buf, This->buf_size); + This->buf_size = 0; + + return NS_OK; } static nsresult NSAPI nsInputStream_ReadSegments(nsIInputStream *iface,
1
0
0
0
Robert Shearman : ole32: Ensure that a returned free block is valid in storage.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: f0dc9deff0dd6d0e366257b26ecdfb373f004749 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=f0dc9deff0dd6d0e366257b…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Thu Aug 3 20:25:14 2006 +0100 ole32: Ensure that a returned free block is valid in storage. Otherwise, an IStream_SetSize call followed by an IStream_Read call could fail with STG_E_DOCFILECORRUPT. --- dlls/ole32/stg_bigblockfile.c | 28 ++++++++++++++++++++++++---- dlls/ole32/storage32.c | 5 +++++ dlls/ole32/storage32.h | 1 + 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/dlls/ole32/stg_bigblockfile.c b/dlls/ole32/stg_bigblockfile.c index 0d28586..b946ab0 100644 --- a/dlls/ole32/stg_bigblockfile.c +++ b/dlls/ole32/stg_bigblockfile.c @@ -351,12 +351,11 @@ void* BIGBLOCKFILE_GetROBigBlock( } /****************************************************************************** - * BIGBLOCKFILE_GetBigBlock + * BIGBLOCKFILE_EnsureExists * - * Returns the specified block. - * Will grow the file if necessary. + * Grows the file if necessary to make sure the block is valid. */ -void* BIGBLOCKFILE_GetBigBlock(LPBIGBLOCKFILE This, ULONG index) +void BIGBLOCKFILE_EnsureExists(LPBIGBLOCKFILE This, ULONG index) { /* * block index starts at -1 @@ -379,6 +378,27 @@ void* BIGBLOCKFILE_GetBigBlock(LPBIGBLOC BIGBLOCKFILE_SetSize(This, newSize); } +} + +/****************************************************************************** + * BIGBLOCKFILE_GetBigBlock + * + * Returns the specified block. + * Will grow the file if necessary. + */ +void* BIGBLOCKFILE_GetBigBlock(LPBIGBLOCKFILE This, ULONG index) +{ + /* FIXME: is this necessary? */ + BIGBLOCKFILE_EnsureExists(This, index); + + /* + * block index starts at -1 + * translate to zero based index + */ + if (index == 0xffffffff) + index = 0; + else + index++; return BIGBLOCKFILE_GetBigBlockPointer(This, index, FILE_MAP_WRITE); } diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index a8a8f0b..abf944a 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -2717,6 +2717,11 @@ static ULONG StorageImpl_GetNextFreeBigB depotBlockOffset = 0; } + /* + * make sure that the block physically exists before using it + */ + BIGBLOCKFILE_EnsureExists(This->bigBlockFile, freeBlock); + This->prevFreeBlock = freeBlock; return freeBlock; diff --git a/dlls/ole32/storage32.h b/dlls/ole32/storage32.h index 884dc0e..4562772 100644 --- a/dlls/ole32/storage32.h +++ b/dlls/ole32/storage32.h @@ -190,6 +190,7 @@ BigBlockFile* BIGBLOCKFILE_Construct(HA ULONG blocksize, BOOL fileBased); void BIGBLOCKFILE_Destructor(LPBIGBLOCKFILE This); +void BIGBLOCKFILE_EnsureExists(LPBIGBLOCKFILE This, ULONG index); void* BIGBLOCKFILE_GetBigBlock(LPBIGBLOCKFILE This, ULONG index); void* BIGBLOCKFILE_GetROBigBlock(LPBIGBLOCKFILE This, ULONG index); void BIGBLOCKFILE_ReleaseBigBlock(LPBIGBLOCKFILE This, void *pBlock);
1
0
0
0
Robert Shearman : ole32: Fix CoLockObjectExternal to respect fLastUnlockReleases.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 6455b9e1a07c73c0b4c0762147e54649f63c79df URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=6455b9e1a07c73c0b4c0762…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Thu Aug 3 20:24:57 2006 +0100 ole32: Fix CoLockObjectExternal to respect fLastUnlockReleases. --- dlls/ole32/compobj.c | 2 +- dlls/ole32/compobj_private.h | 2 +- dlls/ole32/marshal.c | 2 +- dlls/ole32/stubmanager.c | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 683e24d..c291e81 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -2234,7 +2234,7 @@ HRESULT WINAPI CoLockObjectExternal( if (fLock) stub_manager_ext_addref(stubmgr, 1); else - stub_manager_ext_release(stubmgr, 1); + stub_manager_ext_release(stubmgr, 1, fLastUnlockReleases); stub_manager_int_release(stubmgr); diff --git a/dlls/ole32/compobj_private.h b/dlls/ole32/compobj_private.h index a542cc6..4d27bab 100644 --- a/dlls/ole32/compobj_private.h +++ b/dlls/ole32/compobj_private.h @@ -187,7 +187,7 @@ ULONG stub_manager_int_addref(struct stu ULONG stub_manager_int_release(struct stub_manager *This); struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object); ULONG stub_manager_ext_addref(struct stub_manager *m, ULONG refs); -ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs); +ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL last_unlock_releases); struct ifstub *stub_manager_new_ifstub(struct stub_manager *m, IRpcStubBuffer *sb, IUnknown *iptr, REFIID iid, MSHLFLAGS flags); struct ifstub *stub_manager_find_ifstub(struct stub_manager *m, REFIID iid, MSHLFLAGS flags); struct stub_manager *get_stub_manager(APARTMENT *apt, OID oid); diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index 152647b..cbe4a0f 100644 --- a/dlls/ole32/marshal.c +++ b/dlls/ole32/marshal.c @@ -1190,7 +1190,7 @@ StdMarshalImpl_UnmarshalInterface(LPMARS /* unref the ifstub. FIXME: only do this on success? */ if (!stub_manager_is_table_marshaled(stubmgr, &stdobjref.ipid)) - stub_manager_ext_release(stubmgr, stdobjref.cPublicRefs); + stub_manager_ext_release(stubmgr, stdobjref.cPublicRefs, TRUE); stub_manager_int_release(stubmgr); return hres; diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index e5f8741..e0b0007 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -253,7 +253,7 @@ ULONG stub_manager_ext_addref(struct stu } /* remove some external references */ -ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs) +ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL last_unlock_releases) { ULONG rc; @@ -267,7 +267,7 @@ ULONG stub_manager_ext_release(struct st TRACE("removed %lu refs from %p (oid %s), rc is now %lu\n", refs, m, wine_dbgstr_longlong(m->oid), rc); - if (rc == 0) + if (rc == 0 && last_unlock_releases) stub_manager_int_release(m); return rc; @@ -537,7 +537,7 @@ void stub_manager_release_marshal_data(s else if (ifstub->flags & MSHLFLAGS_TABLESTRONG) refs = 1; - stub_manager_ext_release(m, refs); + stub_manager_ext_release(m, refs, TRUE); } /* is an ifstub table marshaled? */ @@ -717,7 +717,7 @@ static HRESULT WINAPI RemUnknown_RemRele break; } - stub_manager_ext_release(stubmgr, InterfaceRefs[i].cPublicRefs); + stub_manager_ext_release(stubmgr, InterfaceRefs[i].cPublicRefs, TRUE); if (InterfaceRefs[i].cPrivateRefs) FIXME("Releasing %ld refs securely not implemented\n", InterfaceRefs[i].cPrivateRefs);
1
0
0
0
Robert Shearman : msi: Fix the creation of shortcuts with a null icon index by mapping it to zero .
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: ab378803ef71e5dbfcb03698ca1a9a79f963403e URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=ab378803ef71e5dbfcb0369…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Thu Aug 3 20:24:10 2006 +0100 msi: Fix the creation of shortcuts with a null icon index by mapping it to zero. --- dlls/msi/action.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index cce2a59..e2d78b1 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2934,6 +2934,10 @@ static UINT ITERATE_CreateShortcuts(MSIR Path = build_icon_path(package,buffer); index = MSI_RecordGetInteger(row,10); + /* no value means 0 */ + if (index == MSI_NULL_INTEGER) + index = 0; + IShellLinkW_SetIconLocation(sl,Path,index); msi_free(Path); }
1
0
0
0
Andrew Talbot : msvfw32: Write-strings warning fix.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: a92e7b1a9fad167564c171281e677ae1f3ff6952 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=a92e7b1a9fad167564c1712…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Aug 3 19:33:40 2006 +0100 msvfw32: Write-strings warning fix. --- dlls/msvfw32/msvideo16.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/msvfw32/msvideo16.c b/dlls/msvfw32/msvideo16.c index f35c2b7..c812592 100644 --- a/dlls/msvfw32/msvideo16.c +++ b/dlls/msvfw32/msvideo16.c @@ -772,6 +772,7 @@ DWORD WINAPI VideoCapDriverDescAndVer16( DWORD infosize; UINT subblocklen; char *s, buf[2048], fn[260]; + static char version_info_spec[] = "\\StringFileInfo\\040904E4\\FileDescription"; LPBYTE infobuf; LPVOID subblock; DWORD i, cnt = 0, lRet; @@ -844,7 +845,7 @@ DWORD WINAPI VideoCapDriverDescAndVer16( } /* FIXME: language problem? */ if (VerQueryValueA( infobuf, - "\\StringFileInfo\\040904E4\\FileDescription", + version_info_spec, &subblock, &subblocklen ))
1
0
0
0
Andrew Talbot : ole32/tests: Write-strings warnings fix.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 6bb8a7f726375048022eda75e8dd012cf1e16715 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=6bb8a7f726375048022eda7…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Aug 3 18:27:12 2006 +0100 ole32/tests: Write-strings warnings fix. --- dlls/ole32/tests/clipboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/tests/clipboard.c b/dlls/ole32/tests/clipboard.c index cf540a9..c4c5882 100644 --- a/dlls/ole32/tests/clipboard.c +++ b/dlls/ole32/tests/clipboard.c @@ -297,7 +297,7 @@ static const IDataObjectVtbl VT_DataObje DataObjectImpl_EnumDAdvise }; -static HRESULT DataObjectImpl_CreateText(LPSTR text, LPDATAOBJECT *lplpdataobj) +static HRESULT DataObjectImpl_CreateText(LPCSTR text, LPDATAOBJECT *lplpdataobj) { DataObjectImpl *obj;
1
0
0
0
Andrew Talbot : riched20/tests: Write-strings warnings fix.
by Alexandre Julliard
03 Aug '06
03 Aug '06
Module: wine Branch: refs/heads/master Commit: 3f8e2efc18005321122adfed0d40b11c4992dd03 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=3f8e2efc18005321122adfe…
Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Aug 3 18:51:22 2006 +0100 riched20/tests: Write-strings warnings fix. --- dlls/riched20/tests/editor.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index dd4f2dd..ccb81de 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -120,7 +120,7 @@ struct find_s find_tests2[] = { {0, 20, "WINE", FR_MATCHCASE, -1, 0} }; -static void check_EM_FINDTEXT(HWND hwnd, char *name, struct find_s *f, int id) { +static void check_EM_FINDTEXT(HWND hwnd, const char *name, struct find_s *f, int id) { int findloc; FINDTEXT ft; memset(&ft, 0, sizeof(ft)); @@ -133,7 +133,7 @@ static void check_EM_FINDTEXT(HWND hwnd, name, id, f->needle, f->start, f->end, f->flags, findloc); } -static void check_EM_FINDTEXTEX(HWND hwnd, char *name, struct find_s *f, +static void check_EM_FINDTEXTEX(HWND hwnd, const char *name, struct find_s *f, int id) { int findloc; FINDTEXTEX ft; @@ -154,7 +154,7 @@ static void check_EM_FINDTEXTEX(HWND hwn name, id, f->needle, f->start, f->end, f->flags, ft.chrgText.cpMax); } -static void run_tests_EM_FINDTEXT(HWND hwnd, char *name, struct find_s *find, +static void run_tests_EM_FINDTEXT(HWND hwnd, const char *name, struct find_s *find, int num_tests) { int i;
1
0
0
0
← Newer
1
...
63
64
65
66
67
68
69
...
75
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Results per page:
10
25
50
100
200