* Fixed Stippi's favourite typo ("appearantly" does not exist).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29861 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-04-02 09:05:49 +00:00
parent 969f8de530
commit 56ab1944d5

View File

@ -861,10 +861,11 @@ DrawingEngine::FillRegion(BRegion& r, const rgb_color& color)
// NOTE: region expected to be already clipped correctly!! // NOTE: region expected to be already clipped correctly!!
BRect frame = r.Frame(); BRect frame = r.Frame();
if (!fPainter->Bounds().Contains(frame)) { if (!fPainter->Bounds().Contains(frame)) {
// NOTE: I am not quite sure yet how this can happen, but appearantly it can (see bug 634) // NOTE: I am not quite sure yet how this can happen, but apparantly it
// This function is used for internal app_server painting, in the case of bug 634, // can (see bug #634).
// the background of views is painted. But the view region should never be outside the // This function is used for internal app_server painting, in the case of
// frame buffer bounds. // bug #634, the background of views is painted. But the view region
// should never be outside the frame buffer bounds.
// char message[1024]; // char message[1024];
// BRect bounds = fPainter->Bounds(); // BRect bounds = fPainter->Bounds();
// sprintf(message, "FillRegion() - painter: (%d, %d)->(%d, %d), region: (%d, %d)->(%d, %d)", // sprintf(message, "FillRegion() - painter: (%d, %d)->(%d, %d), region: (%d, %d)->(%d, %d)",