Style fix, courtesy of Ingo (man, yesterday was bad!)

GCC4 compilation fix, thanks to Frederik Ekdahl


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19701 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2007-01-04 22:16:09 +00:00
parent 7acd0ef0b0
commit 2d14dc1d67
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ AutoTextControlFilter::~AutoTextControlFilter(void)
}
filter_result
AutoTextControlFilter::Filter(BMessage *msg, BHandler **target) {
AutoTextControlFilter::Filter(BMessage *msg, BHandler **target)
{
// This is really slick -- all that is needed to allow Escape key cancelling is
// just calling SetEscapeCancel(true) for just *one* AutoTextControl in a window. *heh*
int32 rawchar,mod;

View File

@ -40,7 +40,7 @@ public:
void SetEscapeCancel(const bool &value) { fEscapeCancel = value; }
bool IsEscapeCancel(void) const { return fEscapeCancel; }
private:
friend AutoTextControlFilter;
friend class AutoTextControlFilter;
AutoTextControlFilter *fFilter;
bool fEscapeCancel;