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
3f2047c8
Commit
3f2047c8
authored
Oct 27, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Fixed size passed to LoadStringW.
parent
f64fbe2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
interface.c
programs/oleview/interface.c
+3
-3
No files found.
programs/oleview/interface.c
View file @
3f2047c8
...
...
@@ -95,9 +95,9 @@ INT_PTR CALLBACK InterfaceViewerProc(HWND hDlgWnd, UINT uMsg,
IUnknown_Release
(
unk
);
if
(
hRes
==
S_OK
)
LoadString
(
globals
.
hMainInst
,
IDS_FALSE
,
wszBuf
,
sizeof
(
WCHAR
[
MAX_LOAD_STRING
]));
sizeof
(
wszBuf
)
/
sizeof
(
wszBuf
[
0
]));
else
LoadString
(
globals
.
hMainInst
,
IDS_TRUE
,
wszBuf
,
sizeof
(
WCHAR
[
MAX_LOAD_STRING
]));
sizeof
(
wszBuf
)
/
sizeof
(
wszBuf
[
0
]));
hObject
=
GetDlgItem
(
hDlgWnd
,
IDC_ISDIRTY
);
SetWindowText
(
hObject
,
wszBuf
);
return
TRUE
;
...
...
@@ -106,7 +106,7 @@ INT_PTR CALLBACK InterfaceViewerProc(HWND hDlgWnd, UINT uMsg,
IPersistStream_GetSizeMax
((
IPersistStream
*
)
unk
,
&
size
);
IUnknown_Release
(
unk
);
LoadString
(
globals
.
hMainInst
,
IDS_BYTES
,
wszBuf
,
sizeof
(
WCHAR
[
MAX_LOAD_STRING
]));
sizeof
(
wszBuf
)
/
sizeof
(
wszBuf
[
0
]));
wsprintfW
(
wszSize
,
wszFormat
,
U
(
size
).
LowPart
,
wszBuf
);
hObject
=
GetDlgItem
(
hDlgWnd
,
IDC_GETSIZEMAX
);
SetWindowText
(
hObject
,
wszSize
);
...
...
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