From 178e45d380418c55eaedbad3ae4b1b24dc369946 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 7 Jan 2006 06:50:10 +0000 Subject: [PATCH] don't show strings before we've set up ThemeManager to be able to show something localized --- stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp b/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp index f997a50339..ef9df3cdb9 100644 --- a/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp +++ b/stepmania/src/arch/LoadingWindow/LoadingWindow_Win32.cpp @@ -103,14 +103,13 @@ void LoadingWindow_Win32::SetIcon( const RageSurface *pIcon ) SetClassLong( hwnd, GCL_HICON, (LONG) m_hIcon ); } -static LocalizedString ENTER_MAIN_TITLE ("LoadingWindow_Win32","Initializing hardware..."); LoadingWindow_Win32::LoadingWindow_Win32() { m_hIcon = NULL; hwnd = CreateDialog( handle.Get(), MAKEINTRESOURCE(IDD_LOADING_DIALOG), NULL, WndProc ); for( unsigned i = 0; i < 3; ++i ) text[i] = "ABC"; /* always set on first call */ - SetText( ENTER_MAIN_TITLE ); + SetText( "" ); Paint(); }