shell32: Constify a variable

Andrew Talbot andrew.talbot at talbotville.com
Thu Jun 19 16:52:06 CDT 2008


Changelog:
    shell32: Constify a variable.

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-patches mailing list