Gravity: Style fix, rename msg parameter to message

This commit is contained in:
John Scipione 2014-02-23 02:16:29 -05:00
parent ed18c89481
commit 60f8c91355
2 changed files with 4 additions and 4 deletions

View File

@ -87,9 +87,9 @@ ConfigView::AttachedToWindow()
void void
ConfigView::MessageReceived(BMessage* msg) ConfigView::MessageReceived(BMessage* message)
{ {
switch (msg->what) { switch (message->what) {
case MSG_COUNT: case MSG_COUNT:
fParent->Config.ParticleCount = fCountSlider->Value(); fParent->Config.ParticleCount = fCountSlider->Value();
break; break;
@ -99,6 +99,6 @@ ConfigView::MessageReceived(BMessage* msg)
break; break;
default: default:
BView::MessageReceived(msg); BView::MessageReceived(message);
} }
} }

View File

@ -21,7 +21,7 @@ public:
ConfigView(Gravity* parent, BRect rect); ConfigView(Gravity* parent, BRect rect);
void AttachedToWindow(); void AttachedToWindow();
void MessageReceived(BMessage* pbmMessage); void MessageReceived(BMessage* message);
private: private:
Gravity* fParent; Gravity* fParent;