Patched to compile on Haiku.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 14 Sep 2012 11:07:47 -0400
changeset 6424bfaafcf78560
parent 6423 339c0ccf6250
child 6425 60c08d8896e0
Patched to compile on Haiku.
src/video/bwindow/SDL_BWin.h
     1.1 --- a/src/video/bwindow/SDL_BWin.h	Thu Sep 13 15:24:04 2012 -0400
     1.2 +++ b/src/video/bwindow/SDL_BWin.h	Fri Sep 14 11:07:47 2012 -0400
     1.3 @@ -560,7 +560,7 @@
     1.4  
     1.5      void _SetBordered(BMessage *msg) {
     1.6      	bool bEnabled;
     1.7 -    	if(msg->FindInt32("window-border", &bEnabled) != B_OK) {
     1.8 +    	if(msg->FindBool("window-border", &bEnabled) != B_OK) {
     1.9  			return;
    1.10  		}
    1.11      	SetLook(bEnabled ? B_BORDERED_WINDOW_LOOK : B_NO_BORDER_WINDOW_LOOK);