comcat: Make use of existing global variable

Andrew Talbot andrew.talbot at talbotville.com
Wed May 28 15:32:46 CDT 2008


Changelog:
    comcat: Make use of existing global variable.

diff --git a/dlls/comcat/regsvr.c b/dlls/comcat/regsvr.c
index 21a7597..06803e1 100644
--- a/dlls/comcat/regsvr.c
+++ b/dlls/comcat/regsvr.c
@@ -40,6 +40,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
  */
 
 /***********************************************************************
+ *		external string constants
+ */
+extern WCHAR const clsid_keyname[];
+
+/***********************************************************************
  *		interface for self-registering
  */
 struct regsvr_interface
@@ -83,8 +88,6 @@ static WCHAR const ps_clsid_keyname[15] = {
 static WCHAR const ps_clsid32_keyname[17] = {
     'P', 'r', 'o', 'x', 'y', 'S', 't', 'u', 'b', 'C', 'l', 's',
     'i', 'd', '3', '2', 0 };
-static WCHAR const clsid_keyname[6] = {
-    'C', 'L', 'S', 'I', 'D', 0 };
 static WCHAR const ips_keyname[13] = {
     'I', 'n', 'P', 'r', 'o', 'c', 'S', 'e', 'r', 'v', 'e', 'r',
     0 };



More information about the wine-patches mailing list