diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-07-16 13:37:49 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-07-16 13:37:49 +0400 |
commit | d8a6c5b12570aec119273ed0bf0890784f45d2ac (patch) | |
tree | 3e0bf064d68ded54002de78b947b3b8d681aba25 /src/apps/mplayerc/StaticLink.cpp | |
parent | 22cd497d1334273d22e954653113a08a1dbb1131 (diff) |
-whitespace cleanup
-updated MediaInfoDLL header
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2124 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/StaticLink.cpp')
-rw-r--r-- | src/apps/mplayerc/StaticLink.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/apps/mplayerc/StaticLink.cpp b/src/apps/mplayerc/StaticLink.cpp index 6a5f14138..d467c7f2f 100644 --- a/src/apps/mplayerc/StaticLink.cpp +++ b/src/apps/mplayerc/StaticLink.cpp @@ -28,8 +28,8 @@ // CStaticLink
-COLORREF CStaticLink::g_colorUnvisited = RGB(0,0,255); // blue
-COLORREF CStaticLink::g_colorVisited = RGB(128,0,128); // purple
+COLORREF CStaticLink::g_colorUnvisited = RGB(0,0,255); // blue
+COLORREF CStaticLink::g_colorVisited = RGB(128,0,128); // purple
HCURSOR CStaticLink::g_hCursorLink = NULL;
@@ -48,9 +48,9 @@ END_MESSAGE_MAP() //
CStaticLink::CStaticLink(LPCTSTR lpText, BOOL bDeleteOnDestroy)
{
- m_link = lpText; // link text (NULL ==> window text)
- m_color = g_colorUnvisited; // not visited yet
- m_bDeleteOnDestroy = bDeleteOnDestroy; // delete object with window?
+ m_link = lpText; // link text (NULL ==> window text)
+ m_color = g_colorUnvisited; // not visited yet
+ m_bDeleteOnDestroy = bDeleteOnDestroy; // delete object with window?
}
//////////////////
@@ -116,14 +116,14 @@ void CStaticLink::OnLButtonDown(UINT nFlags, CPoint point) // For an URL, this means opening it in the browser.
//
HINSTANCE h = m_link.Navigate();
- if ((UINT)h > 32) // success!
+ if ((UINT)h > 32) // success!
{
- m_color = g_colorVisited; // change color
- Invalidate(); // repaint
+ m_color = g_colorVisited; // change color
+ Invalidate(); // repaint
}
else
{
- MessageBeep(0); // unable to execute file!
+ MessageBeep(0); // unable to execute file!
TRACE(_T("*** WARNING: CStaticLink: unable to navigate link %s\n"),
(LPCTSTR)m_link);
}
|