Patched to compile on Haiku.

This commit is contained in:
Ryan C. Gordon 2012-09-14 11:07:47 -04:00
parent 30291cdd9a
commit 8d70dcc83e

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);