From 2cfc85f8fc243d9e99ef2d17dfd1f5b4ab357913 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 9 Jun 2007 10:58:32 +0000 Subject: [PATCH] move DECLARE_ONE macro definition down by where it's used --- stepmania/src/ScreenDebugOverlay.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index 5b5cf4fa4e..b3192f3add 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -471,9 +471,6 @@ void ChangeVolume( float fDelta ) // // DebugLines // -#define DECLARE_ONE( x ) static x g_##x - - static LocalizedString AUTO_PLAY ( "ScreenDebugOverlay", "AutoPlay" ); static LocalizedString ASSIST ( "ScreenDebugOverlay", "Assist" ); static LocalizedString AUTOSYNC ( "ScreenDebugOverlay", "Autosync" ); @@ -1088,6 +1085,7 @@ class DebugLineUptime : public IDebugLine * that can span pages. */ +#define DECLARE_ONE( x ) static x g_##x DECLARE_ONE( DebugLineAutoplay ); DECLARE_ONE( DebugLineAssist ); DECLARE_ONE( DebugLineAutosync );