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
11705f56
Commit
11705f56
authored
Jan 18, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: LoadStringw gets character size, not bytes.
parent
c8dd507b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crashdlg.c
programs/winedbg/crashdlg.c
+2
-2
No files found.
programs/winedbg/crashdlg.c
View file @
11705f56
...
...
@@ -153,11 +153,11 @@ static void save_crash_log( HWND hwnd )
memset
(
&
save
,
0
,
sizeof
(
save
)
);
lstrcpyW
(
path
,
default_name
);
LoadStringW
(
GetModuleHandleW
(
0
),
IDS_TEXT_FILES
,
buffer
,
sizeof
(
buffer
)
);
LoadStringW
(
GetModuleHandleW
(
0
),
IDS_TEXT_FILES
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
])
);
p
=
buffer
+
lstrlenW
(
buffer
)
+
1
;
lstrcpyW
(
p
,
txt_files
);
p
+=
lstrlenW
(
p
)
+
1
;
LoadStringW
(
GetModuleHandleW
(
0
),
IDS_ALL_FILES
,
p
,
sizeof
(
buffer
)
-
(
p
-
buffer
)
);
LoadStringW
(
GetModuleHandleW
(
0
),
IDS_ALL_FILES
,
p
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
])
-
(
p
-
buffer
)
);
p
+=
lstrlenW
(
p
)
+
1
;
lstrcpyW
(
p
,
all_files
);
p
+=
lstrlenW
(
p
)
+
1
;
...
...
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