Alex Henrie : windowscodecs: Make constant 'valuename_format' static.

Alexandre Julliard julliard at winehq.org
Tue Dec 4 16:33:57 CST 2018


Module: wine
Branch: master
Commit: 5b9dbd92424865a57b9d5e6cd8de69e9a8a0c512
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5b9dbd92424865a57b9d5e6cd8de69e9a8a0c512

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Dec  2 16:06:08 2018 -0700

windowscodecs: Make constant 'valuename_format' static.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windowscodecs/regsvr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/windowscodecs/regsvr.c b/dlls/windowscodecs/regsvr.c
index b011d71..3f53591 100644
--- a/dlls/windowscodecs/regsvr.c
+++ b/dlls/windowscodecs/regsvr.c
@@ -1032,10 +1032,10 @@ static HRESULT register_pixelformats(struct regsvr_pixelformat const *list)
         if (res != ERROR_SUCCESS) goto error_close_clsid_key;
 
         if (list->channelmasks) {
+            static const WCHAR valuename_format[] = {'%','d',0};
             HKEY masks_key;
             UINT i, mask_size;
             WCHAR mask_valuename[11];
-            const WCHAR valuename_format[] = {'%','d',0};
 
             mask_size = (list->bitsperpixel + 7)/8;
 




More information about the wine-cvs mailing list