Patched to compile on Haiku.
This commit is contained in:
parent
30291cdd9a
commit
8d70dcc83e
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ private:
|
||||||
|
|
||||||
void _SetBordered(BMessage *msg) {
|
void _SetBordered(BMessage *msg) {
|
||||||
bool bEnabled;
|
bool bEnabled;
|
||||||
if(msg->FindInt32("window-border", &bEnabled) != B_OK) {
|
if(msg->FindBool("window-border", &bEnabled) != B_OK) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
|
SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue