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
fd291ed3
Commit
fd291ed3
authored
Feb 15, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Feb 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Fix the character count passed into LoadStringW from propsheet functions.
parent
b04c4aa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
propsheet.c
dlls/comctl32/propsheet.c
+3
-3
No files found.
dlls/comctl32/propsheet.c
View file @
fd291ed3
...
...
@@ -555,7 +555,7 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
if
(
!
HIWORD
(
lppsp
->
pszTitle
)
)
{
if
(
!
LoadStringW
(
lppsp
->
hInstance
,
(
DWORD_PTR
)
lppsp
->
pszTitle
,
szTitle
,
sizeof
(
szTitle
)
))
if
(
!
LoadStringW
(
lppsp
->
hInstance
,
(
DWORD_PTR
)
lppsp
->
pszTitle
,
szTitle
,
sizeof
(
szTitle
)
/
sizeof
(
szTitle
[
0
])
))
{
pTitle
=
pszNull
;
FIXME
(
"Could not load resource #%04x?
\n
"
,
LOWORD
(
lppsp
->
pszTitle
));
...
...
@@ -2160,7 +2160,7 @@ static void PROPSHEET_SetTitleW(HWND hwndDlg, DWORD dwStyle, LPCWSTR lpszText)
TRACE
(
"%s (style %08x)
\n
"
,
debugstr_w
(
lpszText
),
dwStyle
);
if
(
HIWORD
(
lpszText
)
==
0
)
{
if
(
!
LoadStringW
(
psInfo
->
ppshheader
.
hInstance
,
LOWORD
(
lpszText
),
szTitle
,
sizeof
(
szTitle
)
-
sizeof
(
WCHAR
)))
LOWORD
(
lpszText
),
szTitle
,
sizeof
(
szTitle
)
/
sizeof
(
szTitle
[
0
]
)))
return
;
lpszText
=
szTitle
;
}
...
...
@@ -3636,7 +3636,7 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND
hwndCancel
=
GetDlgItem
(
hwnd
,
IDCANCEL
);
EnableWindow
(
hwndCancel
,
FALSE
);
if
(
LoadStringW
(
COMCTL32_hModule
,
IDS_CLOSE
,
buf
,
sizeof
(
buf
)))
if
(
LoadStringW
(
COMCTL32_hModule
,
IDS_CLOSE
,
buf
,
sizeof
(
buf
)
/
sizeof
(
buf
[
0
])
))
SetWindowTextW
(
hwndOK
,
buf
);
return
FALSE
;
...
...
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