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
65dfc51b
Commit
65dfc51b
authored
Jan 23, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Don't use tchar.h.
parent
bbb8d4f8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
5 deletions
+3
-5
about.c
programs/regedit/about.c
+0
-1
edit.c
programs/regedit/edit.c
+1
-2
framewnd.c
programs/regedit/framewnd.c
+0
-1
main.c
programs/regedit/main.c
+0
-1
regedit.c
programs/regedit/regedit.c
+1
-0
regproc.c
programs/regedit/regproc.c
+1
-0
No files found.
programs/regedit/about.c
View file @
65dfc51b
...
...
@@ -22,7 +22,6 @@
#include <windows.h>
#include <commctrl.h>
#include <shellapi.h>
#include <tchar.h>
#include "main.h"
...
...
programs/regedit/edit.c
View file @
65dfc51b
...
...
@@ -21,7 +21,6 @@
#define WIN32_LEAN_AND_MEAN
/* Exclude rarely-used stuff from Windows headers */
#include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <commdlg.h>
#include <cderr.h>
...
...
@@ -320,7 +319,7 @@ BOOL ModifyValue(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath, LPCWSTR valueName)
if
(
DialogBoxW
(
0
,
MAKEINTRESOURCEW
(
IDD_EDIT_DWORD
),
hwnd
,
modify_dlgproc
)
==
IDOK
)
{
DWORD
val
;
CHAR
*
valueA
=
GetMultiByteString
(
stringValueData
);
if
(
_st
scanf
(
valueA
,
isDecimal
?
"%u"
:
"%x"
,
&
val
))
{
if
(
s
scanf
(
valueA
,
isDecimal
?
"%u"
:
"%x"
,
&
val
))
{
lRet
=
RegSetValueExW
(
hKey
,
valueName
,
0
,
type
,
(
BYTE
*
)
&
val
,
sizeof
(
val
));
if
(
lRet
==
ERROR_SUCCESS
)
result
=
TRUE
;
else
error_code_messagebox
(
hwnd
,
lRet
);
...
...
programs/regedit/framewnd.c
View file @
65dfc51b
...
...
@@ -21,7 +21,6 @@
#define WIN32_LEAN_AND_MEAN
/* Exclude rarely-used stuff from Windows headers */
#include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <commdlg.h>
#include <cderr.h>
...
...
programs/regedit/main.c
View file @
65dfc51b
...
...
@@ -22,7 +22,6 @@
#include <windows.h>
#include <commctrl.h>
#include <stdlib.h>
#include <tchar.h>
#include <stdio.h>
#include <fcntl.h>
...
...
programs/regedit/regedit.c
View file @
65dfc51b
...
...
@@ -20,6 +20,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include "regproc.h"
...
...
programs/regedit/regproc.c
View file @
65dfc51b
...
...
@@ -23,6 +23,7 @@
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <io.h>
#include <windows.h>
...
...
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