Skip to content

Commit

Permalink
Fixed issues inhibiting compilation under VS2005; also including conv…
Browse files Browse the repository at this point in the history
…erted .sln/.vcproj files for VS2005.
  • Loading branch information
Jonathan Castello authored and nickgammon committed Feb 14, 2010
1 parent b3c0a93 commit af4a3ef
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,16 @@ find_non_standard_encoding.lua
*.fon
*.po
*.GID
*.suo

#
# Notes for me:
#

using_git.txt


#
# VS2005 user-specific project data
#
MUSHclient.vcproj.*
1 change: 0 additions & 1 deletion MUSHclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ COLORREF xterm_256_colours [256];

// Lua 5.1
#pragma comment( lib, "lua5.1.lib" )
#pragma comment(linker, "lua5.1.dll")

// library needed for timers
#pragma comment( lib, "winmm.lib")
Expand Down
4 changes: 2 additions & 2 deletions StatLink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ CStaticLink::CStaticLink(LPCTSTR lpText, BOOL bDeleteOnDestroy)
// lines of code and more reliable than turning on SS_NOTIFY in OnCtlColor
// because Windows doesn't send WM_CTLCOLOR to bitmap static controls.
//
UINT CStaticLink::OnNcHitTest(CPoint point)
LRESULT CStaticLink::OnNcHitTest(CPoint point)
{
return HTCLIENT;
return (LRESULT)HTCLIENT;
}

//////////////////
Expand Down
4 changes: 2 additions & 2 deletions StatLink.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class CStaticLink : public CStatic {

// message handlers
DECLARE_MESSAGE_MAP()
afx_msg UINT OnNcHitTest(CPoint point);
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg LRESULT OnNcHitTest(CPoint point);
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
};
Expand Down
1 change: 1 addition & 0 deletions png/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pngerror.c
pngget.c
pngmem.c
pngpread.c
pngpriv.h
pngread.c
pngrio.c
pngrtran.c
Expand Down

0 comments on commit af4a3ef

Please sign in to comment.