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
602e0df9
Commit
602e0df9
authored
Aug 16, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Write-strings warnings fix.
parent
704f8d78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
childwnd.c
programs/regedit/childwnd.c
+6
-3
No files found.
programs/regedit/childwnd.c
View file @
602e0df9
...
@@ -128,9 +128,10 @@ static LPTSTR GetPathRoot(HWND hwndTV, HTREEITEM hItem, BOOL bFull) {
...
@@ -128,9 +128,10 @@ static LPTSTR GetPathRoot(HWND hwndTV, HTREEITEM hItem, BOOL bFull) {
}
}
LPTSTR
GetItemFullPath
(
HWND
hwndTV
,
HTREEITEM
hItem
,
BOOL
bFull
)
{
LPTSTR
GetItemFullPath
(
HWND
hwndTV
,
HTREEITEM
hItem
,
BOOL
bFull
)
{
LPTSTR
parts
[
2
]
=
{
_T
(
""
),
_T
(
""
)};
LPTSTR
parts
[
2
];
HKEY
hRootKey
=
NULL
;
LPTSTR
ret
;
LPTSTR
ret
;
HKEY
hRootKey
=
NULL
;
parts
[
0
]
=
GetPathRoot
(
hwndTV
,
hItem
,
bFull
);
parts
[
0
]
=
GetPathRoot
(
hwndTV
,
hItem
,
bFull
);
parts
[
1
]
=
GetItemPath
(
hwndTV
,
hItem
,
&
hRootKey
);
parts
[
1
]
=
GetItemPath
(
hwndTV
,
hItem
,
&
hRootKey
);
ret
=
CombinePaths
((
LPCTSTR
*
)
parts
,
2
);
ret
=
CombinePaths
((
LPCTSTR
*
)
parts
,
2
);
...
@@ -139,7 +140,9 @@ LPTSTR GetItemFullPath(HWND hwndTV, HTREEITEM hItem, BOOL bFull) {
...
@@ -139,7 +140,9 @@ LPTSTR GetItemFullPath(HWND hwndTV, HTREEITEM hItem, BOOL bFull) {
}
}
LPTSTR
GetPathFullPath
(
HWND
hwndTV
,
LPTSTR
path
)
{
LPTSTR
GetPathFullPath
(
HWND
hwndTV
,
LPTSTR
path
)
{
LPTSTR
parts
[
2
]
=
{
_T
(
""
),
_T
(
""
)},
ret
;
LPTSTR
parts
[
2
];
LPTSTR
ret
;
parts
[
0
]
=
GetPathRoot
(
hwndTV
,
0
,
TRUE
);
parts
[
0
]
=
GetPathRoot
(
hwndTV
,
0
,
TRUE
);
parts
[
1
]
=
path
;
parts
[
1
]
=
path
;
ret
=
CombinePaths
((
LPCTSTR
*
)
parts
,
2
);
ret
=
CombinePaths
((
LPCTSTR
*
)
parts
,
2
);
...
...
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