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
85cad2cd
Commit
85cad2cd
authored
Apr 26, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If lpstrTitle is NULL, set it to either 'Open File' or 'Save as'.
Constify the string constants.
parent
48eae0bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
filedlg16.c
dlls/commdlg/filedlg16.c
+2
-4
No files found.
dlls/commdlg/filedlg16.c
View file @
85cad2cd
...
...
@@ -84,8 +84,6 @@ static HICON hFloppy = 0;
static
HICON
hHDisk
=
0
;
static
HICON
hCDRom
=
0
;
static
HICON
hNet
=
0
;
static
char
defaultopen
[]
=
"Open File"
;
static
char
defaultsave
[]
=
"Save as"
;
/***********************************************************************
* FileDlg_Init [internal]
...
...
@@ -971,8 +969,8 @@ void FILEDLG_MapOfnStructA(LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL open
str
=
ofnA
->
lpstrTitle
;
else
/* Allocates default title (FIXME : get it from resource) */
str
=
open
?
defaultopen
:
defaultsave
;
RtlCreateUnicodeStringFromAsciiz
(
&
usBuffer
,
ofnA
->
lpstrTitle
);
str
=
open
?
"Open File"
:
"Save as"
;
RtlCreateUnicodeStringFromAsciiz
(
&
usBuffer
,
str
);
ofnW
->
lpstrTitle
=
usBuffer
.
Buffer
;
ofnW
->
Flags
=
ofnA
->
Flags
;
ofnW
->
nFileOffset
=
ofnA
->
nFileOffset
;
...
...
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