Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
088d0630
Commit
088d0630
authored
May 17, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Remove all TCHAR macro usage in miscellaneous menu code.
parent
da5623cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
optnmenu.c
programs/taskmgr/optnmenu.c
+1
-1
run.c
programs/taskmgr/run.c
+3
-3
No files found.
programs/taskmgr/optnmenu.c
View file @
088d0630
...
...
@@ -48,7 +48,7 @@ void TaskManager_OnOptionsAlwaysOnTop(void)
* Check or uncheck the always on top menu item
* and update main window.
*/
if
((
GetWindowLong
(
hMainWnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
)
!=
0
)
if
((
GetWindowLong
W
(
hMainWnd
,
GWL_EXSTYLE
)
&
WS_EX_TOPMOST
)
!=
0
)
{
CheckMenuItem
(
hOptionsMenu
,
ID_OPTIONS_ALWAYSONTOP
,
MF_BYCOMMAND
|
MF_UNCHECKED
);
TaskManagerSettings
.
AlwaysOnTop
=
FALSE
;
...
...
programs/taskmgr/run.c
View file @
088d0630
...
...
@@ -52,7 +52,7 @@ void TaskManager_OnFileNew(void)
{
HMODULE
hShell32
;
RUNFILEDLG
RunFileDlg
;
OSVERSIONINFO
versionInfo
;
OSVERSIONINFO
W
versionInfo
;
static
const
WCHAR
wszShell32
[]
=
{
'S'
,
'H'
,
'E'
,
'L'
,
'L'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
0
};
hShell32
=
LoadLibraryW
(
wszShell32
);
...
...
@@ -62,8 +62,8 @@ void TaskManager_OnFileNew(void)
if
(
RunFileDlg
)
{
HICON
hIcon
=
LoadIconW
(
GetModuleHandleW
(
NULL
),
MAKEINTRESOURCEW
(
IDI_TASKMANAGER
));
versionInfo
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFO
);
GetVersionEx
(
&
versionInfo
);
versionInfo
.
dwOSVersionInfoSize
=
sizeof
(
OSVERSIONINFO
W
);
GetVersionEx
W
(
&
versionInfo
);
if
(
versionInfo
.
dwPlatformId
==
VER_PLATFORM_WIN32_NT
)
{
...
...
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