[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH] midimap: Turn variable 'throughportW' into a static constant
From: Andrew Eikum <aeikum () codeweavers ! com>
Date: 2018-11-30 15:35:21
Message-ID: 20181130153521.xwbphojqj75dw6uq () foghorn ! codeweavers ! com
[Download RAW message or body]
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
On Fri, Nov 30, 2018 at 12:14:08AM -0700, Alex Henrie wrote:
> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
> dlls/midimap/midimap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/midimap/midimap.c b/dlls/midimap/midimap.c
> index 290300a55a..540dac3c76 100644
> --- a/dlls/midimap/midimap.c
> +++ b/dlls/midimap/midimap.c
> @@ -553,9 +553,9 @@ DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
> */
> static LRESULT MIDIMAP_drvOpen(void)
> {
> + static const WCHAR throughportW[] = {'M','i','d','i',' ','T','h','r','o','u','g','h',0};
> MIDIOUTCAPSW moc;
> unsigned dev, i;
> - WCHAR throughportW[] = {'M','i','d','i',' ','T','h','r','o','u','g','h',0};
> BOOL found_valid_port = FALSE;
>
> if (midiOutPorts)
> --
> 2.19.2
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic