Skip to content

Commit a2a7b11

Browse files
committed
Merge branch 'master' of http://github.com/Twisol/mushclient
2 parents a64d6c5 + 3961180 commit a2a7b11

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

MUSHclient.vcproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Version="8.00"
55
Name="MUSHclient"
66
ProjectGUID="{A72BFD9B-2A5C-4509-BB92-593FF2C8CE95}"
7+
RootNamespace="MUSHclient"
78
Keyword="MFCProj"
89
>
910
<Platforms>
@@ -57,9 +58,9 @@
5758
AssemblerListingLocation=".\WinDebug/"
5859
ObjectFile=".\WinDebug/"
5960
ProgramDataBaseFileName=".\WinDebug/"
60-
BrowseInformation="2"
61+
BrowseInformation="1"
6162
BrowseInformationFile=".\WinDebug/"
62-
WarningLevel="3"
63+
WarningLevel="1"
6364
SuppressStartupBanner="true"
6465
DebugInformationFormat="4"
6566
/>

mcdatetime.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ CmcDateTimeSpan CmcDateTime::operator-(const CmcDateTime& date) const
9292
if (GetStatus() == null || date.GetStatus() == null)
9393
{
9494
spanResult.SetStatus(COleDateTimeSpan::null);
95-
return spanResult;
95+
return (double)spanResult;
9696
}
9797

9898
// If either operand invalid, result invalid
9999
if (GetStatus() == invalid || date.GetStatus() == invalid)
100100
{
101101
spanResult.SetStatus(COleDateTimeSpan::invalid);
102-
return spanResult;
102+
return (double)spanResult;
103103
}
104104

105105
// Return result (span can't be invalid, so don't check range)

mushview.cpp

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,18 @@ static char BASED_CODE THIS_FILE[] = __FILE__;
6262
#define TTI_WARNING 2 // warning icon
6363
#define TTI_ERROR 3 // error icon
6464

65-
66-
#define TTM_SETTITLEA (WM_USER+32)
67-
#define TTM_SETTITLEW (WM_USER+33)
65+
/*
66+
JMC - "redefinition of macro" warnings fixed
67+
These four are already defined with the same values
68+
in commctrl.h (Platform SDK header)
69+
TTM_SETTITLEA, TTM_SETTITLEW,
70+
TTM_POPUP, TTM_GETTITLE
71+
*/
72+
//#define TTM_SETTITLEA (WM_USER+32)
73+
//#define TTM_SETTITLEW (WM_USER+33)
6874
#define TTM_SETTITLE TTM_SETTITLEA
69-
#define TTM_POPUP (WM_USER+34)
70-
#define TTM_GETTITLE (WM_USER+35)
75+
//#define TTM_POPUP (WM_USER+34)
76+
//#define TTM_GETTITLE (WM_USER+35)
7177
#define TTM_SETWINDOWTHEME CCM_SETWINDOWTHEME
7278

7379

0 commit comments

Comments
 (0)