mirror of
https://github.com/yawut/SDL.git
synced 2026-08-23 09:15:18 -05:00
Patched to compile on Haiku.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user