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
798a54f9
Commit
798a54f9
authored
Aug 23, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Aug 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Remove custom filter from open/save dialogs.
parent
343153e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
framewnd.c
programs/regedit/framewnd.c
+1
-5
No files found.
programs/regedit/framewnd.c
View file @
798a54f9
...
...
@@ -258,8 +258,6 @@ static UINT_PTR CALLBACK ImportRegistryFile_OFNHookProc(HWND hdlg, UINT uiMsg, W
return
0L
;
}
#define MAX_CUSTOM_FILTER_SIZE 50
TCHAR
CustomFilterBuffer
[
MAX_CUSTOM_FILTER_SIZE
];
TCHAR
FileNameBuffer
[
_MAX_PATH
];
TCHAR
FileTitleBuffer
[
_MAX_PATH
];
...
...
@@ -271,9 +269,7 @@ static BOOL InitOpenFileName(HWND hWnd, OPENFILENAME* pofn)
pofn
->
hInstance
=
hInst
;
pofn
->
lpstrFilter
=
_T
(
"Registration Files
\0
*.reg
\0
Win9x/NT4 Registration Files (REGEDIT4)
\0
*.reg
\0
All Files (*.*)
\0
*.*
\0\0
"
);
pofn
->
lpstrCustomFilter
=
CustomFilterBuffer
;
pofn
->
nMaxCustFilter
=
MAX_CUSTOM_FILTER_SIZE
;
pofn
->
nFilterIndex
=
0
;
pofn
->
nFilterIndex
=
1
;
pofn
->
lpstrFile
=
FileNameBuffer
;
pofn
->
nMaxFile
=
_MAX_PATH
;
pofn
->
lpstrFileTitle
=
FileTitleBuffer
;
...
...
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