Patched to compile on Haiku.

This commit is contained in:
Ryan C. Gordon
2012-09-14 11:07:47 -04:00
parent b3c20483de
commit 38c19e9a72

View File

@@ -560,7 +560,7 @@ private:
void _SetBordered(BMessage *msg) {
bool bEnabled;
if(msg->FindInt32("window-border", &bEnabled) != B_OK) {
if(msg->FindBool("window-border", &bEnabled) != B_OK) {
return;
}
SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);