diff --git a/src/add-ons/screen_savers/gravity/ConfigView.cpp b/src/add-ons/screen_savers/gravity/ConfigView.cpp index 3a4fe18b5d..119b44ecc0 100644 --- a/src/add-ons/screen_savers/gravity/ConfigView.cpp +++ b/src/add-ons/screen_savers/gravity/ConfigView.cpp @@ -87,9 +87,9 @@ ConfigView::AttachedToWindow() void -ConfigView::MessageReceived(BMessage* msg) +ConfigView::MessageReceived(BMessage* message) { - switch (msg->what) { + switch (message->what) { case MSG_COUNT: fParent->Config.ParticleCount = fCountSlider->Value(); break; @@ -99,6 +99,6 @@ ConfigView::MessageReceived(BMessage* msg) break; default: - BView::MessageReceived(msg); + BView::MessageReceived(message); } } diff --git a/src/add-ons/screen_savers/gravity/ConfigView.h b/src/add-ons/screen_savers/gravity/ConfigView.h index adfa77cc74..e0bca7e5b9 100644 --- a/src/add-ons/screen_savers/gravity/ConfigView.h +++ b/src/add-ons/screen_savers/gravity/ConfigView.h @@ -21,7 +21,7 @@ public: ConfigView(Gravity* parent, BRect rect); void AttachedToWindow(); - void MessageReceived(BMessage* pbmMessage); + void MessageReceived(BMessage* message); private: Gravity* fParent;