diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2010-05-02 11:09:25 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2010-05-02 11:09:25 +0400 |
commit | adf9c01472f2de9695911c9979867d9d5c7bd375 (patch) | |
tree | 0bfdc3c18024bf6abc04d4c888507760e860181c /src/apps/mplayerc | |
parent | fc33dfd7cf231258bbaf671510e9fccddb2b36f8 (diff) |
little fix 1828 rev.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1829 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc')
-rw-r--r-- | src/apps/mplayerc/MainFrm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mplayerc/MainFrm.cpp b/src/apps/mplayerc/MainFrm.cpp index c4fd86502..3f23d612c 100644 --- a/src/apps/mplayerc/MainFrm.cpp +++ b/src/apps/mplayerc/MainFrm.cpp @@ -8894,7 +8894,7 @@ void CMainFrame::ToggleFullscreen(bool fToNearest, bool fSwitchScreenResWhenHasT r = s.rcLastWindowPos;
if(!s.fRememberWindowPos)
{
- hm = MonitorFromWindow(m_hWnd, MONITOR_DEFAULTTOPRIMARY);
+ hm = MonitorFromPoint( CPoint( 0,0 ), MONITOR_DEFAULTTOPRIMARY );
GetMonitorInfo(hm, &mi);
CRect m_r = mi.rcMonitor;
int left = m_r.left + (m_r.Width() - r.Width())/2;
|