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
84d72396
Commit
84d72396
authored
Oct 29, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Oct 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Allow importing/exporting strings with '\r'.
parent
00c25959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
regproc.c
programs/regedit/regproc.c
+10
-0
No files found.
programs/regedit/regproc.c
View file @
84d72396
...
...
@@ -267,6 +267,9 @@ static int REGPROC_unescape_string(WCHAR* str)
case
'n'
:
str
[
val_idx
]
=
'\n'
;
break
;
case
'r'
:
str
[
val_idx
]
=
'\r'
;
break
;
case
'0'
:
str
[
val_idx
]
=
'\0'
;
break
;
...
...
@@ -963,6 +966,13 @@ static void REGPROC_export_string(WCHAR **line_buf, DWORD *line_buf_size, DWORD
(
*
line_buf
)[
pos
++
]
=
'n'
;
break
;
case
'\r'
:
extra
++
;
REGPROC_resize_char_buffer
(
line_buf
,
line_buf_size
,
*
line_len
+
str_len
+
extra
);
(
*
line_buf
)[
pos
++
]
=
'\\'
;
(
*
line_buf
)[
pos
++
]
=
'r'
;
break
;
case
'\\'
:
case
'"'
:
extra
++
;
...
...
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