Gravity: Style fix, rename msg parameter to message
This commit is contained in:
parent
ed18c89481
commit
60f8c91355
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
ConfigView(Gravity* parent, BRect rect);
|
||||
|
||||
void AttachedToWindow();
|
||||
void MessageReceived(BMessage* pbmMessage);
|
||||
void MessageReceived(BMessage* message);
|
||||
|
||||
private:
|
||||
Gravity* fParent;
|
||||
|
Loading…
Reference in New Issue
Block a user