Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Patched to compile on Haiku.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 14, 2012
1 parent 756088c commit a4fffd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/bwindow/SDL_BWin.h
Expand Up @@ -560,7 +560,7 @@ class SDL_BWin:public BDirectWindow

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

0 comments on commit a4fffd4

Please sign in to comment.