* added check for size of BTextView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32442 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -149,6 +149,13 @@ main(int argc, char **argv)
|
||||
{
|
||||
Application app;
|
||||
|
||||
const int kExpectedTextViewSize = 356;
|
||||
if (sizeof(BTextView) != kExpectedTextViewSize) {
|
||||
fprintf(stderr, "sizeof(BTextView) is %ld instead of %d!\n",
|
||||
sizeof(BTextView), kExpectedTextViewSize);
|
||||
return 1;
|
||||
}
|
||||
|
||||
app.Run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user