Removed a (no longer true) comment, added a TODO item

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-06-10 07:38:13 +00:00
parent 4a7973e335
commit 698185b19a
+2 -1
View File
@@ -98,6 +98,8 @@ BPrivateScreen::Return(BPrivateScreen *screen)
if (atomic_add(&sScreenRefCount, -1) == 1) {
// TODO: Check if the passed object is the same we are deleting
// here. Not much important for now though, since we only have one.
// TODO: We could avoid these lines, and just let the object live
// until the death of the application.
delete sScreen;
sScreen = NULL;
}
@@ -453,7 +455,6 @@ BPrivateScreen::get_screen_desc(screen_desc *desc)
}
// Private, called by BApplication::get_scs()
BPrivateScreen::BPrivateScreen()
:
fColorMap(NULL),