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
31e41a94
Commit
31e41a94
authored
Mar 11, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Use monospace font for hex edit dialog.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
84068b6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
edit.c
programs/regedit/edit.c
+1
-0
hexedit.c
programs/regedit/hexedit.c
+0
-13
No files found.
programs/regedit/edit.c
View file @
31e41a94
...
...
@@ -151,6 +151,7 @@ static INT_PTR CALLBACK bin_modify_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wPara
else
SetDlgItemTextW
(
hwndDlg
,
IDC_VALUE_NAME
,
g_pszDefaultValueName
);
SendDlgItemMessageW
(
hwndDlg
,
IDC_VALUE_DATA
,
HEM_SETDATA
,
(
WPARAM
)
params
->
cbData
,
(
LPARAM
)
params
->
pData
);
SendDlgItemMessageW
(
hwndDlg
,
IDC_VALUE_DATA
,
WM_SETFONT
,
(
WPARAM
)
GetStockObject
(
ANSI_FIXED_FONT
),
TRUE
);
return
TRUE
;
case
WM_COMMAND
:
switch
(
LOWORD
(
wParam
))
{
...
...
programs/regedit/hexedit.c
View file @
31e41a94
...
...
@@ -330,16 +330,6 @@ HexEdit_Char (HEXEDIT_INFO *infoPtr, WCHAR ch)
}
static
inline
LRESULT
HexEdit_Create
(
HEXEDIT_INFO
*
infoPtr
,
LPCREATESTRUCTW
lpcs
)
{
HexEdit_SetFont
(
infoPtr
,
GetStockObject
(
SYSTEM_FONT
),
FALSE
);
HexEdit_UpdateScrollbars
(
infoPtr
);
return
0
;
}
static
inline
LRESULT
HexEdit_Destroy
(
HEXEDIT_INFO
*
infoPtr
)
{
HWND
hwnd
=
infoPtr
->
hwndSelf
;
...
...
@@ -630,9 +620,6 @@ HexEdit_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_CHAR
:
return
HexEdit_Char
(
infoPtr
,
(
WCHAR
)
wParam
);
case
WM_CREATE
:
return
HexEdit_Create
(
infoPtr
,
(
LPCREATESTRUCTW
)
lParam
);
case
WM_DESTROY
:
return
HexEdit_Destroy
(
infoPtr
);
...
...
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