File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 4
4
Version=" 8.00"
5
5
Name=" MUSHclient"
6
6
ProjectGUID=" {A72BFD9B-2A5C-4509-BB92-593FF2C8CE95}"
7
+ RootNamespace=" MUSHclient"
7
8
Keyword=" MFCProj"
8
9
>
9
10
<Platforms >
57
58
AssemblerListingLocation=" .\WinDebug/"
58
59
ObjectFile=" .\WinDebug/"
59
60
ProgramDataBaseFileName=" .\WinDebug/"
60
- BrowseInformation=" 2 "
61
+ BrowseInformation=" 1 "
61
62
BrowseInformationFile=" .\WinDebug/"
62
- WarningLevel=" 3 "
63
+ WarningLevel=" 1 "
63
64
SuppressStartupBanner=" true"
64
65
DebugInformationFormat=" 4"
65
66
/>
Original file line number Diff line number Diff line change @@ -92,14 +92,14 @@ CmcDateTimeSpan CmcDateTime::operator-(const CmcDateTime& date) const
92
92
if (GetStatus () == null || date.GetStatus () == null)
93
93
{
94
94
spanResult.SetStatus (COleDateTimeSpan::null);
95
- return spanResult;
95
+ return ( double ) spanResult;
96
96
}
97
97
98
98
// If either operand invalid, result invalid
99
99
if (GetStatus () == invalid || date.GetStatus () == invalid)
100
100
{
101
101
spanResult.SetStatus (COleDateTimeSpan::invalid);
102
- return spanResult;
102
+ return ( double ) spanResult;
103
103
}
104
104
105
105
// Return result (span can't be invalid, so don't check range)
Original file line number Diff line number Diff line change @@ -62,12 +62,18 @@ static char BASED_CODE THIS_FILE[] = __FILE__;
62
62
#define TTI_WARNING 2 // warning icon
63
63
#define TTI_ERROR 3 // error icon
64
64
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)
68
74
#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)
71
77
#define TTM_SETWINDOWTHEME CCM_SETWINDOWTHEME
72
78
73
79
You can’t perform that action at this time.
0 commit comments