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
69ea452c
Commit
69ea452c
authored
Jun 23, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GeValue didn't handle attrref attributes
parent
4f5c01e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+24
-0
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
69ea452c
...
@@ -3113,6 +3113,30 @@ int GeValue::scan( grow_tObject object)
...
@@ -3113,6 +3113,30 @@ int GeValue::scan( grow_tObject object)
len
=
sprintf
(
buf
,
"%s"
,
name
);
len
=
sprintf
(
buf
,
"%s"
,
name
);
break
;
break
;
}
}
case
pwr_eType_AttrRef
:
{
int
sts
;
char
name
[
120
];
pwr_sAttrRef
aref
=
*
(
pwr_sAttrRef
*
)
p
;
switch
(
format
[
1
])
{
case
'1'
:
// Format %1o, write path
sts
=
gdh_AttrrefToName
(
&
aref
,
name
,
sizeof
(
name
),
cdh_mName_pathStrict
);
break
;
case
'2'
:
// Format %2o, write volume and path
sts
=
gdh_AttrrefToName
(
&
aref
,
name
,
sizeof
(
name
),
cdh_mName_volumeStrict
);
break
;
default:
sts
=
gdh_AttrrefToName
(
&
aref
,
name
,
sizeof
(
name
),
cdh_mName_object
|
cdh_mName_attribute
);
}
if
(
EVEN
(
sts
))
strcpy
(
name
,
""
);
len
=
sprintf
(
buf
,
"%s"
,
name
);
break
;
}
case
pwr_eType_Time
:
{
case
pwr_eType_Time
:
{
int
sts
;
int
sts
;
char
timstr
[
40
];
char
timstr
[
40
];
...
...
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