* You are supposed to free() the mode list returned by BScreen::GetModeList(),

and not to delete it.
* The header didn't include everything it needed.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16702 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-03-11 15:13:19 +00:00
parent 04d40ff247
commit f157272bee
2 changed files with 31 additions and 27 deletions
+5 -2
View File
@@ -6,10 +6,13 @@
Multi-Monitor Settings interface
*/
#ifndef _MULTIMON_H
#define _MULTIMON_H
#include <SupportDefs.h>
class BScreen;
status_t GetSwapDisplays( BScreen *screen, bool *swap );
@@ -24,4 +27,4 @@ status_t SetTVStandard( BScreen *screen, uint32 standard );
status_t TestMultiMonSupport( BScreen *screen );
#endif
#endif // _MULTIMON_H