Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
61833a63
Commit
61833a63
authored
Feb 22, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in XttGraph build method, java was always exported if javaname wasn't saved
parent
c9000e05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
wb/lib/wb/src/wb_build.cpp
wb/lib/wb/src/wb_build.cpp
+10
-1
No files found.
wb/lib/wb/src/wb_build.cpp
View file @
61833a63
/*
/*
* Proview $Id: wb_build.cpp,v 1.
5 2007-01-30 07:13:02
claes Exp $
* Proview $Id: wb_build.cpp,v 1.
6 2007-02-22 13:02:25
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -467,6 +467,7 @@ void wb_build::xttgraph( pwr_tOid oid)
...
@@ -467,6 +467,7 @@ void wb_build::xttgraph( pwr_tOid oid)
char
java_name
[
80
];
char
java_name
[
80
];
pwr_tStatus
fsts
;
pwr_tStatus
fsts
;
int
jexport
;
int
jexport
;
char
*
s
;
wb_object
o
=
m_session
.
object
(
oid
);
wb_object
o
=
m_session
.
object
(
oid
);
if
(
!
o
)
{
if
(
!
o
)
{
...
@@ -531,6 +532,14 @@ void wb_build::xttgraph( pwr_tOid oid)
...
@@ -531,6 +532,14 @@ void wb_build::xttgraph( pwr_tOid oid)
m_sts
=
fsts
;
m_sts
=
fsts
;
return
;
return
;
}
}
if
(
(
is_frame
||
is_applet
)
&&
strcmp
(
java_name
,
""
)
==
0
)
{
// Java name is not yet set, use the default java name
strcpy
(
java_name
,
action
);
if
(
(
s
=
strchr
(
java_name
,
'.'
))
!=
0
)
*
s
=
0
;
java_name
[
0
]
=
_toupper
(
java_name
[
0
]);
}
if
(
is_frame
)
{
if
(
is_frame
)
{
// Check exported java frame
// Check exported java frame
sprintf
(
dest_fname
,
"$pwrp_pop/%s.java"
,
java_name
);
sprintf
(
dest_fname
,
"$pwrp_pop/%s.java"
,
java_name
);
...
...
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