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
3a3ace6e
Commit
3a3ace6e
authored
Nov 30, 2003
by
Richard Cohen
Committed by
Alexandre Julliard
Nov 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unused code.
parent
177f3d1e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
28 deletions
+1
-28
language.c
programs/clock/language.c
+1
-17
language.h
programs/clock/language.h
+0
-1
main.c
programs/clock/main.c
+0
-5
main.h
programs/clock/main.h
+0
-5
No files found.
programs/clock/language.c
View file @
3a3ace6e
...
...
@@ -25,8 +25,6 @@
#include "language.h"
#include "winnls.h"
CHAR
STRING_MENU_Xx
[]
=
"MENU_Xx"
;
VOID
LANGUAGE_UpdateMenuCheckmarks
(
VOID
)
{
if
(
Globals
.
bAnalog
==
TRUE
)
{
...
...
@@ -67,14 +65,10 @@ VOID LANGUAGE_UpdateWindowCaption(VOID)
CHAR
szCaption
[
MAX_STRING_LEN
];
CHAR
szDate
[
MAX_STRING_LEN
];
LPSTR
date
=
szDate
;
SYSTEMTIME
st
;
LPSYSTEMTIME
lpst
=
&
st
;
GetLocalTime
(
&
st
);
GetDateFormat
(
LOCALE_USER_DEFAULT
,
LOCALE_SLONGDATE
,
lpst
,
NULL
,
date
,
MAX_STRING_LEN
);
GetDateFormat
(
LOCALE_USER_DEFAULT
,
LOCALE_SLONGDATE
,
&
st
,
NULL
,
szDate
,
sizeof
(
szDate
));
/* Set frame caption */
LoadString
(
Globals
.
hInstance
,
0x10C
,
szCaption
,
sizeof
(
szCaption
));
...
...
@@ -115,16 +109,6 @@ VOID LANGUAGE_LoadMenus(VOID)
AppendMenu
(
Globals
.
hSystemMenu
,
MF_STRING
|
MF_BYCOMMAND
,
1000
,
szItem
);
}
/*
VOID LANGUAGE_DefaultHandle(WPARAM wParam)
{
if ((wParam >=CL_FIRST_LANGUAGE) && (wParam<=CL_LAST_LANGUAGE))
LANGUAGE_SelectByNumber(wParam - CL_FIRST_LANGUAGE);
else
printf("Unimplemented menu command %i\n", wParam);
}
*/
/* Local Variables: */
/* c-file-style: "GNU" */
/* End: */
programs/clock/language.h
View file @
3a3ace6e
...
...
@@ -22,7 +22,6 @@
VOID
LANGUAGE_UpdateWindowCaption
(
VOID
);
VOID
LANGUAGE_UpdateMenuCheckmarks
(
VOID
);
VOID
LANGUAGE_LoadMenus
(
VOID
);
VOID
LANGUAGE_DefaultHandle
(
WPARAM
wParam
);
/* Local Variables: */
/* c-file-style: "GNU" */
...
...
programs/clock/main.c
View file @
3a3ace6e
...
...
@@ -117,11 +117,6 @@ int CLOCK_MenuCommand (WPARAM wParam)
ShellAbout
(
Globals
.
hMainWnd
,
szApp
,
szAppRelease
,
0
);
break
;
}
/* Handle languages */
/*
default:
LANGUAGE_DefaultHandle(wParam);
*/
}
return
0
;
}
...
...
programs/clock/main.h
View file @
3a3ace6e
...
...
@@ -21,10 +21,6 @@
#include "clock_res.h"
#define MAX_STRING_LEN 255
#define MAX_PATHNAME_LEN 1024
#define MAX_LANGUAGE_NUMBER (CL_LAST_LANGUAGE - CL_FIRST_LANGUAGE)
#define HELPFILE "clock.hlp"
#define DEFAULTICON OIC_WINLOGO
/* hide the following from winerc */
...
...
@@ -44,7 +40,6 @@ typedef struct
HMENU
hPopupMenu1
;
LPCSTR
lpszIniFile
;
LPCSTR
lpszIcoFile
;
UINT
wStringTableOffset
;
BOOL
bAnalog
;
BOOL
bAlwaysOnTop
;
...
...
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