From 1e505ff81e3eac49753e1e78bae072a2e9bd5bec Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 18 Nov 2006 20:27:15 +0000 Subject: [PATCH] copy/paste error. --- stepmania/src/arch/Dialog/DialogDriver.h | 2 +- stepmania/src/arch/InputHandler/InputHandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Dialog/DialogDriver.h b/stepmania/src/arch/Dialog/DialogDriver.h index e4c9c5a065..4ec4e93a3c 100644 --- a/stepmania/src/arch/Dialog/DialogDriver.h +++ b/stepmania/src/arch/Dialog/DialogDriver.h @@ -25,7 +25,7 @@ struct RegisterDialogDriver }; #define REGISTER_DIALOG_DRIVER_CLASS( name ) \ static DialogDriver *Create##name() { return new DialogDriver_##name; } \ - static RegisterDialogDriver register_##className( #name, Create##name ) + static RegisterDialogDriver register_##name( #name, Create##name ) #endif diff --git a/stepmania/src/arch/InputHandler/InputHandler.h b/stepmania/src/arch/InputHandler/InputHandler.h index a784bbcb6e..5fe1375618 100644 --- a/stepmania/src/arch/InputHandler/InputHandler.h +++ b/stepmania/src/arch/InputHandler/InputHandler.h @@ -76,7 +76,7 @@ struct RegisterInputHandler }; #define REGISTER_INPUT_HANDLER_CLASS2( name, x ) \ static InputHandler *Create##name() { return new InputHandler_##x; } \ - static RegisterInputHandler register_##className( #name, Create##name ) + static RegisterInputHandler register_##name( #name, Create##name ) #define REGISTER_INPUT_HANDLER_CLASS( name ) REGISTER_INPUT_HANDLER_CLASS2( name, name )