call debugger when encountering nested BeginLineArray calls like in R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16244 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2941,6 +2941,10 @@ BView::BeginLineArray(int32 count)
|
||||
check_lock_no_pick();
|
||||
|
||||
if (comm) {
|
||||
debugger("Can't nest BeginLineArray calls");
|
||||
// not fatal, but it helps during
|
||||
// development of your app and is in
|
||||
// line with R5...
|
||||
delete [] comm->array;
|
||||
delete comm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user