Commit f10db4071dbb156d37f2117667ed8066defa3bde

Ryan C. Gordon 2016-09-29T23:15:56

haiku: Patched to compile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/video/haiku/SDL_BWin.h b/src/video/haiku/SDL_BWin.h
index b3b94dc..0f03149 100644
--- a/src/video/haiku/SDL_BWin.h
+++ b/src/video/haiku/SDL_BWin.h
@@ -578,9 +578,9 @@ private:
             return;
         }
         if (bEnabled) {
-            SetFlags(GetFlags() & ~(B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
+            SetFlags(Flags() & ~(B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
         } else {
-            SetFlags(GetFlags() | (B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
+            SetFlags(Flags() | (B_NOT_RESIZABLE | B_NOT_ZOOMABLE));
         }
     }