From ac7c204284682f342f4b142a8ad99dc264cff1b9 Mon Sep 17 00:00:00 2001 From: hexdec Date: Thu, 11 Sep 2014 18:55:19 +0200 Subject: [PATCH] Changed place on WC_MUSIC_CREDITS and WC_PUBLISHER_CREDITS. --- src/window.h | 4 ++-- src/window_credits.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window.h b/src/window.h index bda084e2a5..c342cb8832 100644 --- a/src/window.h +++ b/src/window.h @@ -330,8 +330,8 @@ enum { WC_TOOLTIP = 5, WC_DROPDOWN = 6, WC_ABOUT = 8, - WC_MUSIC_CREDITS = 9, - WC_PUBLISHER_CREDITS = 10, + WC_PUBLISHER_CREDITS = 9, + WC_MUSIC_CREDITS = 10, WC_ERROR = 11, WC_RIDE = 12, WC_RIDE_CONSTRUCTION = 13, diff --git a/src/window_credits.c b/src/window_credits.c index 8dd85fcd17..9c25b28eb0 100644 --- a/src/window_credits.c +++ b/src/window_credits.c @@ -86,7 +86,7 @@ void window_music_credits_open() rct_window* window; // Check if window is already open - window = window_bring_to_front_by_id(WC_PUBLISHER_CREDITS, 0); + window = window_bring_to_front_by_id(WC_MUSIC_CREDITS, 0); if (window != NULL) return; @@ -96,7 +96,7 @@ void window_music_credits_open() 510, 314, (uint32*)window_music_credits_events, - WC_PUBLISHER_CREDITS, + WC_MUSIC_CREDITS, 0 );