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
cea5e75f
Commit
cea5e75f
authored
Sep 27, 2004
by
Jon Griffiths
Committed by
Alexandre Julliard
Sep 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub MACRO_JumpContext to at least bring up the help file.
parent
ac5e454e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
macro.c
programs/winhelp/macro.c
+8
-7
No files found.
programs/winhelp/macro.c
View file @
cea5e75f
...
...
@@ -155,7 +155,7 @@ static int MACRO_DoLookUp(struct MacroDesc* start, const char* name, struct lexr
{
lr
->
proto
=
md
->
arguments
;
if
(
md
->
isBool
)
{
{
lr
->
bool_function
=
(
BOOL
(
*
)())
md
->
fn
;
return
BOOL_FUNCTION
;
}
...
...
@@ -172,7 +172,7 @@ static int MACRO_DoLookUp(struct MacroDesc* start, const char* name, struct lexr
int
MACRO_Lookup
(
const
char
*
name
,
struct
lexret
*
lr
)
{
int
ret
;
if
((
ret
=
MACRO_DoLookUp
(
MACRO_Builtins
,
name
,
lr
,
-
1
))
!=
EMPTY
)
return
ret
;
if
(
MACRO_Loaded
&&
(
ret
=
MACRO_DoLookUp
(
MACRO_Loaded
,
name
,
lr
,
MACRO_NumLoaded
))
!=
EMPTY
)
...
...
@@ -281,7 +281,7 @@ void MACRO_ChangeButtonBinding(LPCSTR id, LPCSTR macro)
b
=
MACRO_LookupButton
(
win
,
id
);
if
(
!*
b
)
{
WINE_FIXME
(
"Couldn't find button '%s'
\n
"
,
id
);
return
;}
size
=
sizeof
(
WINHELP_BUTTON
)
+
lstrlen
(
id
)
+
size
=
sizeof
(
WINHELP_BUTTON
)
+
lstrlen
(
id
)
+
lstrlen
((
*
b
)
->
lpszName
)
+
lstrlen
(
macro
)
+
3
;
button
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
...
...
@@ -558,7 +558,7 @@ void MACRO_FileOpen(void)
{
HLPFILE
*
hlpfile
=
WINHELP_LookupHelpFile
(
szPath
);
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
0
,
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
0
,
WINHELP_GetWindowInfo
(
hlpfile
,
"main"
),
SW_SHOWNORMAL
);
}
}
...
...
@@ -679,14 +679,15 @@ void MACRO_JumpContents(LPCSTR lpszPath, LPCSTR lpszWindow)
WINE_TRACE
(
"(
\"
%s
\"
,
\"
%s
\"
)
\n
"
,
lpszPath
,
lpszWindow
);
hlpfile
=
WINHELP_LookupHelpFile
(
lpszPath
);
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
0
,
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
0
,
WINHELP_GetWindowInfo
(
hlpfile
,
lpszWindow
),
SW_NORMAL
);
}
void
MACRO_JumpContext
(
LPCSTR
lpszPath
,
LPCSTR
lpszWindow
,
LONG
context
)
{
WINE_FIXME
(
"(
\"
%s
\"
,
\"
%s
\"
, %lu)
\n
"
,
lpszPath
,
lpszWindow
,
context
);
WINE_FIXME
(
"(
\"
%s
\"
,
\"
%s
\"
, %ld)semi-stub
\n
"
,
lpszPath
,
lpszWindow
,
context
);
return
MACRO_JumpContents
(
lpszPath
,
lpszWindow
);
}
void
MACRO_JumpHash
(
LPCSTR
lpszPath
,
LPCSTR
lpszWindow
,
LONG
lHash
)
...
...
@@ -695,7 +696,7 @@ void MACRO_JumpHash(LPCSTR lpszPath, LPCSTR lpszWindow, LONG lHash)
WINE_TRACE
(
"(
\"
%s
\"
,
\"
%s
\"
, %lu)
\n
"
,
lpszPath
,
lpszWindow
,
lHash
);
hlpfile
=
WINHELP_LookupHelpFile
(
lpszPath
);
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
lHash
,
WINHELP_CreateHelpWindowByHash
(
hlpfile
,
lHash
,
WINHELP_GetWindowInfo
(
hlpfile
,
lpszWindow
),
SW_NORMAL
);
}
...
...
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