Skip to content

Commit af4a3ef

Browse files
Jonathan Castellonickgammon
authored andcommitted
Fixed issues inhibiting compilation under VS2005; also including converted .sln/.vcproj files for VS2005.
1 parent b3c0a93 commit af4a3ef

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,16 @@ find_non_standard_encoding.lua
4141
*.fon
4242
*.po
4343
*.GID
44+
*.suo
4445

4546
#
4647
# Notes for me:
4748
#
4849

4950
using_git.txt
51+
52+
53+
#
54+
# VS2005 user-specific project data
55+
#
56+
MUSHclient.vcproj.*

MUSHclient.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ COLORREF xterm_256_colours [256];
3535

3636
// Lua 5.1
3737
#pragma comment( lib, "lua5.1.lib" )
38-
#pragma comment(linker, "lua5.1.dll")
3938

4039
// library needed for timers
4140
#pragma comment( lib, "winmm.lib")

StatLink.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ CStaticLink::CStaticLink(LPCTSTR lpText, BOOL bDeleteOnDestroy)
4747
// lines of code and more reliable than turning on SS_NOTIFY in OnCtlColor
4848
// because Windows doesn't send WM_CTLCOLOR to bitmap static controls.
4949
//
50-
UINT CStaticLink::OnNcHitTest(CPoint point)
50+
LRESULT CStaticLink::OnNcHitTest(CPoint point)
5151
{
52-
return HTCLIENT;
52+
return (LRESULT)HTCLIENT;
5353
}
5454

5555
//////////////////

StatLink.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class CStaticLink : public CStatic {
4242

4343
// message handlers
4444
DECLARE_MESSAGE_MAP()
45-
afx_msg UINT OnNcHitTest(CPoint point);
46-
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
45+
afx_msg LRESULT OnNcHitTest(CPoint point);
46+
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
4747
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
4848
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
4949
};

png/readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pngerror.c
1717
pngget.c
1818
pngmem.c
1919
pngpread.c
20+
pngpriv.h
2021
pngread.c
2122
pngrio.c
2223
pngrtran.c

0 commit comments

Comments
 (0)