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
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 2011
----- 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
2 participants
770 discussions
Start a n
N
ew thread
Michael Stefaniuc : ole32: COM cleanup in filemoniker.c.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 70c038dc2f5287da3e9dce469da9a7872736626a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70c038dc2f5287da3e9dce469…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Tue Aug 30 00:36:57 2011 +0200 ole32: COM cleanup in filemoniker.c. --- dlls/ole32/filemoniker.c | 82 +++++++++++++++++++++------------------------- 1 files changed, 37 insertions(+), 45 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=70c038dc2f5287da3e9dc…
1
0
0
0
Andrew Talbot : winex11.drv: Remove unneeded address-of operator from function name.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 42df50ab662b50fbc3c2d9b3a0850be1ea417918 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=42df50ab662b50fbc3c2d9b3a…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Aug 29 22:36:29 2011 +0100 winex11.drv: Remove unneeded address-of operator from function name. --- dlls/winex11.drv/clipboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index cda8f9e..caf2406 100644 --- a/dlls/winex11.drv/clipboard.c +++ b/dlls/winex11.drv/clipboard.c @@ -2574,7 +2574,7 @@ int CDECL X11DRV_AcquireClipboard(HWND hWndClipWindow) else { HANDLE event = CreateEventW(NULL, FALSE, FALSE, NULL); - selectionThread = CreateThread(NULL, 0, &selection_thread_proc, event, 0, NULL); + selectionThread = CreateThread(NULL, 0, selection_thread_proc, event, 0, NULL); if (!selectionThread) {
1
0
0
0
Andrew Talbot : comctl32: Remove unneeded address-of operator from function name.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 92c408cd66bebfd08b7ada328545090d1d916975 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=92c408cd66bebfd08b7ada328…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Aug 29 22:36:10 2011 +0100 comctl32: Remove unneeded address-of operator from function name. --- dlls/comctl32/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index bcfd173..cc997c1 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -2594,7 +2594,7 @@ static INT LISTVIEW_MapIdToIndex(const LISTVIEW_INFO *infoPtr, UINT iID) if (infoPtr->nItemCount == 0) return -1; ID.id = iID; - index = DPA_Search(infoPtr->hdpaItemIds, &ID, -1, &MapIdSearchCompare, 0, DPAS_SORTED); + index = DPA_Search(infoPtr->hdpaItemIds, &ID, -1, MapIdSearchCompare, 0, DPAS_SORTED); if (index != -1) {
1
0
0
0
Andrew Talbot : wined3d: Remove unneeded address-of operators from function names.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 094dd38b007345979ce6a146ca214a5da092d305 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=094dd38b007345979ce6a146c…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Aug 29 22:36:22 2011 +0100 wined3d: Remove unneeded address-of operators from function names. --- dlls/wined3d/utils.c | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=094dd38b007345979ce6a…
1
0
0
0
Andrew Talbot : shell32: Remove unneeded address-of operators from function name.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 2e4224fe2c878cf3acca77d5979f7076ccf772c6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2e4224fe2c878cf3acca77d59…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Mon Aug 29 22:36:16 2011 +0100 shell32: Remove unneeded address-of operators from function name. --- dlls/shell32/shv_item_cmenu.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dlls/shell32/shv_item_cmenu.c b/dlls/shell32/shv_item_cmenu.c index 2dd8cd6..245bbd4 100644 --- a/dlls/shell32/shv_item_cmenu.c +++ b/dlls/shell32/shv_item_cmenu.c @@ -382,7 +382,7 @@ static BOOL DoCopyOrCut(ItemCmImpl *This, HWND hwnd, BOOL bCut) * Used by DoOpenProperties through SHCreatePropSheetExtArrayEx to add * propertysheet pages from shell extensions. */ -static BOOL Properties_AddPropSheetCallback(HPROPSHEETPAGE hpage, LPARAM lparam) +static BOOL CALLBACK Properties_AddPropSheetCallback(HPROPSHEETPAGE hpage, LPARAM lparam) { LPPROPSHEETHEADERW psh = (LPPROPSHEETHEADERW) lparam; psh->u3.phpage[psh->nPages++] = hpage; @@ -476,17 +476,13 @@ static void DoOpenProperties(ItemCmImpl *This, HWND hwnd) hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletype, MAX_PROP_PAGES - psh.nPages, lpDo); if (hpsxa != NULL) { - SHAddFromPropSheetExtArray((HPSXA)hpsxa, - (LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback, - (LPARAM)&psh); + SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh); SHDestroyPropSheetExtArray(hpsxa); } hpsxa = SHCreatePropSheetExtArrayEx(HKEY_CLASSES_ROOT, wszFiletypeAll, MAX_PROP_PAGES - psh.nPages, lpDo); if (hpsxa != NULL) { - SHAddFromPropSheetExtArray((HPSXA)hpsxa, - (LPFNADDPROPSHEETPAGE)&Properties_AddPropSheetCallback, - (LPARAM)&psh); + SHAddFromPropSheetExtArray(hpsxa, Properties_AddPropSheetCallback, (LPARAM)&psh); SHDestroyPropSheetExtArray(hpsxa); } IDataObject_Release(lpDo);
1
0
0
0
Aric Stewart : usp10: When calling ShapeIndicSyllables we need to use cChars which is the actual number of original characters .
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 8b14f3f542a38d32317ec766c7513bef21c7beaa URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8b14f3f542a38d32317ec766c…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Mon Aug 29 14:55:04 2011 -0500 usp10: When calling ShapeIndicSyllables we need to use cChars which is the actual number of original characters. --- dlls/usp10/shape.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c index 0068b41..499829f 100644 --- a/dlls/usp10/shape.c +++ b/dlls/usp10/shape.c @@ -2417,7 +2417,7 @@ static void ContextualShape_Sinhala(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS * /* Step 4: Base Form application to syllables */ GetGlyphIndicesW(hdc, input, cCount, pwOutGlyphs, 0); *pcGlyphs = cCount; - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, sinhala_lex, NULL, TRUE); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, sinhala_lex, NULL, TRUE); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2474,7 +2474,7 @@ static void ContextualShape_Devanagari(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSI *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, devanagari_lex, NULL, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, devanagari_lex, NULL, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2544,7 +2544,7 @@ static void ContextualShape_Bengali(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS * } /* Step 4: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, bengali_lex, NULL, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, bengali_lex, NULL, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2592,7 +2592,7 @@ static void ContextualShape_Gurmukhi(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, gurmukhi_lex, NULL, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, gurmukhi_lex, NULL, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2632,7 +2632,7 @@ static void ContextualShape_Gujarati(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *pcGlyphs = cCount; /* Step 2: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, gujarati_lex, NULL, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, gujarati_lex, NULL, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2688,7 +2688,7 @@ static void ContextualShape_Oriya(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *ps *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, oriya_lex, NULL, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, oriya_lex, NULL, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2738,7 +2738,7 @@ static void ContextualShape_Tamil(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *ps *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, tamil_lex, SecondReorder_Like_Tamil, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, tamil_lex, SecondReorder_Like_Tamil, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2787,7 +2787,7 @@ static void ContextualShape_Telugu(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *p *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, telugu_lex, SecondReorder_Like_Telugu, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, telugu_lex, SecondReorder_Like_Telugu, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2839,7 +2839,7 @@ static void ContextualShape_Kannada(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS * *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, kannada_lex, SecondReorder_Like_Telugu, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, kannada_lex, SecondReorder_Like_Telugu, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables); @@ -2884,7 +2884,7 @@ static void ContextualShape_Malayalam(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *pcGlyphs = cCount; /* Step 3: Base Form application to syllables */ - ShapeIndicSyllables(hdc, psc, psa, input, cCount, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, malayalam_lex, SecondReorder_Like_Tamil, modern); + ShapeIndicSyllables(hdc, psc, psa, input, cChars, syllables, syllable_count, pwOutGlyphs, pcGlyphs, pwLogClust, malayalam_lex, SecondReorder_Like_Tamil, modern); HeapFree(GetProcessHeap(),0,input); HeapFree(GetProcessHeap(),0,syllables);
1
0
0
0
André Hentschel : version: Return VIF_CANNOTREADSRC if no source path could be generated.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 87ebfe5d18b59017feb70a98aa8db0b2c745799e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=87ebfe5d18b59017feb70a98a…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Aug 29 21:11:28 2011 +0200 version: Return VIF_CANNOTREADSRC if no source path could be generated. --- dlls/version/version.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/version/version.c b/dlls/version/version.c index 1e581ee..8ea0209 100644 --- a/dlls/version/version.c +++ b/dlls/version/version.c @@ -1341,6 +1341,7 @@ DWORD WINAPI VerInstallFileA( flags,srcfilename,destfilename,srcdir,destdir,curdir,tmpfile,*tmpfilelen ); xret = 0; + if (!srcdir || !srcfilename) return VIF_CANNOTREADSRC; sprintf(srcfn,"%s\\%s",srcdir,srcfilename); if (!destdir || !*destdir) pdest = srcdir; else pdest = destdir;
1
0
0
0
André Hentschel : d3dcompiler_43/tests: Fix printing a NULL string.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 550e2a9f6af429fffbf205a7fc6fc8be65ff9620 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=550e2a9f6af429fffbf205a7f…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Aug 29 21:10:56 2011 +0200 d3dcompiler_43/tests: Fix printing a NULL string. --- dlls/d3dcompiler_43/tests/asm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3dcompiler_43/tests/asm.c b/dlls/d3dcompiler_43/tests/asm.c index 5c01983..18bdd16 100644 --- a/dlls/d3dcompiler_43/tests/asm.c +++ b/dlls/d3dcompiler_43/tests/asm.c @@ -1440,7 +1440,7 @@ static HRESULT WINAPI testD3DInclude_open(ID3DInclude *iface, D3D_INCLUDE_TYPE i char include3[] = "vs.1.1\n"; trace("filename %s\n", filename); - trace("parent_data (%p) -> %s\n", parent_data, (char *)parent_data); + trace("parent_data (%p) -> %s\n", parent_data, parent_data ? (char *)parent_data : "(null)"); if (!strcmp(filename, "incl.vsh")) {
1
0
0
0
André Hentschel : winspool.drv/tests: Fix tracing a NULL string.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 7d13898fbb2e2576bba82e0251cb4783a7cd77fc URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7d13898fbb2e2576bba82e025…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Aug 29 21:11:23 2011 +0200 winspool.drv/tests: Fix tracing a NULL string. --- dlls/winspool.drv/tests/info.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c index dbdedad..462f6ef 100644 --- a/dlls/winspool.drv/tests/info.c +++ b/dlls/winspool.drv/tests/info.c @@ -147,7 +147,7 @@ static void find_default_printer(VOID) needed = sizeof(buffer); res = pGetDefaultPrinterA(buffer, &needed); if(res) default_printer = buffer; - trace("default_printer: '%s'\n", default_printer); + trace("default_printer: '%s'\n", default_printer ? default_printer : "(null)"); } if (default_printer == NULL) { @@ -170,7 +170,7 @@ static void find_default_printer(VOID) } RegCloseKey(hwindows); } - trace("default_printer: '%s'\n", default_printer); + trace("default_printer: '%s'\n", default_printer ? default_printer : "(null)"); } if (default_printer == NULL) { @@ -184,7 +184,7 @@ static void find_default_printer(VOID) default_printer = buffer; } } - trace("default_printer: '%s'\n", default_printer); + trace("default_printer: '%s'\n", default_printer ? default_printer : "(null)"); } }
1
0
0
0
André Hentschel : d3dx9_36/tests: Fix printing a NULL string.
by Alexandre Julliard
30 Aug '11
30 Aug '11
Module: wine Branch: master Commit: 3ddda7b66b343f34b5e4ebc37a6f55aa878268b9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3ddda7b66b343f34b5e4ebc37…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Aug 29 21:11:01 2011 +0200 d3dx9_36/tests: Fix printing a NULL string. --- dlls/d3dx9_36/tests/asm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3dx9_36/tests/asm.c b/dlls/d3dx9_36/tests/asm.c index 72a2da9..023236d 100644 --- a/dlls/d3dx9_36/tests/asm.c +++ b/dlls/d3dx9_36/tests/asm.c @@ -52,7 +52,7 @@ static HRESULT WINAPI testD3DXInclude_open(ID3DXInclude *iface, const char include3[] = "vs.1.1\n"; trace("filename = %s\n", filename); - trace("parent_data = (%p) -> %s\n", parent_data, (char *)parent_data); + trace("parent_data (%p) -> %s\n", parent_data, parent_data ? (char *)parent_data : "(null)"); if(!strcmp(filename,"incl.vsh")) { buffer = HeapAlloc(GetProcessHeap(), 0, sizeof(include));
1
0
0
0
← Newer
1
...
5
6
7
8
9
10
11
...
77
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
76
77
Results per page:
10
25
50
100
200