Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
afa43155
Commit
afa43155
authored
Jan 12, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed a dependency between oleaut32 and comctl32.
parent
bc3c4d4f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
12 deletions
+13
-12
datetime.c
dlls/comctl32/datetime.c
+2
-2
monthcal.c
dlls/comctl32/monthcal.c
+6
-5
parsedt.c
dlls/oleaut32/parsedt.c
+3
-3
monthcal.h
include/monthcal.h
+2
-2
No files found.
dlls/comctl32/datetime.c
View file @
afa43155
...
...
@@ -26,8 +26,8 @@ static BOOL
DATETIME_SendSimpleNotify
(
HWND
hwnd
,
UINT
code
);
extern
char
*
days
[];
/* from ole/parsedt.c */
static
const
char
*
const
days
[]
=
{
"Sunday"
,
"Monday"
,
"Tuesday"
,
"Wednesday"
,
"Thursday"
,
"Friday"
,
"Saturday"
,
NULL
};
static
LRESULT
DATETIME_GetSystemTime
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
dlls/comctl32/monthcal.c
View file @
afa43155
...
...
@@ -34,13 +34,13 @@ DEFAULT_DEBUG_CHANNEL(monthcal)
* we want full month-names, and abbreviated weekdays, so these are
* defined here */
extern
int
mdays
[];
static
const
int
mdays
[]
=
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
};
c
har
*
monthtxt
[]
=
{
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
c
onst
char
*
const
monthtxt
[]
=
{
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
};
c
har
*
daytxt
[]
=
{
"Sun"
,
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
};
int
DayOfWeekTable
[]
=
{
0
,
3
,
2
,
5
,
0
,
3
,
5
,
1
,
4
,
6
,
2
,
4
};
c
onst
char
*
const
daytxt
[]
=
{
"Sun"
,
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
};
static
const
int
DayOfWeekTable
[]
=
{
0
,
3
,
2
,
5
,
0
,
3
,
5
,
1
,
4
,
6
,
2
,
4
};
#define MONTHCAL_GetInfoPtr(hwnd) ((MONTHCAL_INFO *)GetWindowLongA(hwnd, 0))
...
...
@@ -337,7 +337,8 @@ static void MONTHCAL_Refresh(HWND hwnd, HDC hdc)
HBRUSH
hbr
;
HFONT
currentFont
;
/* LOGFONTA logFont; */
char
buf
[
20
],
*
thisMonthtxt
;
char
buf
[
20
];
const
char
*
thisMonthtxt
;
COLORREF
oldTextColor
,
oldBkColor
;
DWORD
dwStyle
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
BOOL
prssed
;
...
...
dlls/oleaut32/parsedt.c
View file @
afa43155
...
...
@@ -58,12 +58,12 @@ static int DecodeTimezone(char *str, int *tzp);
#define USE_DATE_CACHE 1
#define ROUND_ALL 0
int
mdays
[]
=
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
};
static
const
int
mdays
[]
=
{
31
,
28
,
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
,
0
};
char
*
months
[]
=
{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"Jun"
,
static
const
char
*
const
months
[]
=
{
"Jan"
,
"Feb"
,
"Mar"
,
"Apr"
,
"May"
,
"Jun"
,
"Jul"
,
"Aug"
,
"Sep"
,
"Oct"
,
"Nov"
,
"Dec"
,
NULL
};
char
*
days
[]
=
{
"Sunday"
,
"Monday"
,
"Tuesday"
,
"Wednesday"
,
static
const
char
*
const
days
[]
=
{
"Sunday"
,
"Monday"
,
"Tuesday"
,
"Wednesday"
,
"Thursday"
,
"Friday"
,
"Saturday"
,
NULL
};
/* those three vars are useless, and not even initialized, so
...
...
include/monthcal.h
View file @
afa43155
...
...
@@ -76,8 +76,8 @@ typedef struct tagMONTHCAL_INFO
extern
void
MONTHCAL_CopyTime
(
const
SYSTEMTIME
*
from
,
SYSTEMTIME
*
to
);
extern
int
MONTHCAL_CalculateDayOfWeek
(
DWORD
day
,
DWORD
month
,
DWORD
year
);
extern
c
har
*
daytxt
[];
extern
c
har
*
monthtxt
[];
extern
c
onst
char
*
const
daytxt
[];
extern
c
onst
char
*
const
monthtxt
[];
extern
void
MONTHCAL_Register
(
void
);
extern
void
MONTHCAL_Unregister
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment