Andrew Talbot : comdlg32: Constify some variables.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 5 06:42:52 CDT 2007


Module: wine
Branch: master
Commit: 65479a24240438e11eea464a76c276e6a728d0ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=65479a24240438e11eea464a76c276e6a728d0ac

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Apr  4 22:23:04 2007 +0100

comdlg32: Constify some variables.

---

 dlls/comdlg32/filedlgbrowser.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comdlg32/filedlgbrowser.c b/dlls/comdlg32/filedlgbrowser.c
index 2ff2c81..f379425 100644
--- a/dlls/comdlg32/filedlgbrowser.c
+++ b/dlls/comdlg32/filedlgbrowser.c
@@ -76,7 +76,7 @@ static const IServiceProviderVtbl IShellBrowserImpl_IServiceProvider_Vtbl;
 *   Local Prototypes
 */
 
-static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv);
+static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv);
 
 /*
  *   Helper functions
@@ -125,7 +125,7 @@ static void COMDLG32_DumpSBSPFlags(UINT uflags)
     }
 }
 
-static void COMDLG32_UpdateCurrentDir(FileOpenDlgInfos *fodInfos)
+static void COMDLG32_UpdateCurrentDir(const FileOpenDlgInfos *fodInfos)
 {
     LPSHELLFOLDER psfDesktop;
     STRRET strret;
@@ -895,7 +895,7 @@ static HRESULT WINAPI IShellBrowserImpl_ICommDlgBrowser_IncludeObject(ICommDlgBr
 /**************************************************************************
 *  IShellBrowserImpl_ICommDlgBrowser_OnSelChange
 */
-static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, IShellView *ppshv)
+static HRESULT IShellBrowserImpl_ICommDlgBrowser_OnSelChange(ICommDlgBrowser *iface, const IShellView *ppshv)
 {
     FileOpenDlgInfos *fodInfos;
 




More information about the wine-cvs mailing list