=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msi: Fix typo in a field name.

Alexandre Julliard julliard at winehq.org
Thu Feb 13 13:26:10 CST 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Feb 13 14:25:39 2014 +0100

msi: Fix typo in a field name.

---

 dlls/msi/action.c  |    6 +++---
 dlls/msi/msipriv.h |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 73aae35..07322fe 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1887,7 +1887,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
                 component->anyAbsent = 1;
                 break;
             case INSTALLSTATE_ADVERTISED:
-                component->hasAdvertiseFeature = 1;
+                component->hasAdvertisedFeature = 1;
                 break;
             case INSTALLSTATE_SOURCE:
                 component->hasSourceFeature = 1;
@@ -1897,7 +1897,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
                 break;
             case INSTALLSTATE_DEFAULT:
                 if (feature->Attributes & msidbFeatureAttributesFavorAdvertise)
-                    component->hasAdvertiseFeature = 1;
+                    component->hasAdvertisedFeature = 1;
                 else if (feature->Attributes & msidbFeatureAttributesFavorSource)
                     component->hasSourceFeature = 1;
                 else
@@ -1942,7 +1942,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
             component->ActionRequest = INSTALLSTATE_SOURCE;
             continue;
         }
-        if (component->hasAdvertiseFeature)
+        if (component->hasAdvertisedFeature)
         {
             component->Action = INSTALLSTATE_ADVERTISED;
             component->ActionRequest = INSTALLSTATE_ADVERTISED;
diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h
index 3780d48..c585b43 100644
--- a/dlls/msi/msipriv.h
+++ b/dlls/msi/msipriv.h
@@ -487,7 +487,7 @@ typedef struct tagMSICOMPONENT
     int num_clients;
 
     unsigned int anyAbsent:1;
-    unsigned int hasAdvertiseFeature:1;
+    unsigned int hasAdvertisedFeature:1;
     unsigned int hasLocalFeature:1;
     unsigned int hasSourceFeature:1;
 } MSICOMPONENT;




More information about the wine-cvs mailing list