Andrew Talbot : shell32: Constify a variable.

Alexandre Julliard julliard at winehq.org
Fri Jun 20 06:22:09 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Jun 19 22:52:06 2008 +0100

shell32: Constify a variable.

---

 dlls/shell32/shfldr_netplaces.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shfldr_netplaces.c b/dlls/shell32/shfldr_netplaces.c
index a4acfba..fd6b235 100644
--- a/dlls/shell32/shfldr_netplaces.c
+++ b/dlls/shell32/shfldr_netplaces.c
@@ -73,7 +73,7 @@ static const IPersistFolder2Vtbl vt_NP_PersistFolder2;
 #define _IShellFolder_(This)	(IShellFolder*)&(This->lpVtbl)
 #define _IPersistFolder2_(This)	(IPersistFolder2*)&(This->lpVtblPersistFolder2)
 
-static shvheader NetworkPlacesSFHeader[] = {
+static const shvheader NetworkPlacesSFHeader[] = {
     {IDS_SHV_COLUMN1, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 15},
     {IDS_SHV_COLUMN9, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 10}
 };




More information about the wine-cvs mailing list