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
1b2a9854
Commit
1b2a9854
authored
Oct 12, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in attribute name length
parent
b51ca656
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
124 additions
and
75 deletions
+124
-75
wb/lib/wb/src/wb_attribute.cpp
wb/lib/wb/src/wb_attribute.cpp
+1
-1
wb/lib/wb/src/wb_attrname.cpp
wb/lib/wb/src/wb_attrname.cpp
+3
-3
wb/lib/wb/src/wb_nav.cpp
wb/lib/wb/src/wb_nav.cpp
+1
-1
wb/lib/wb/src/wb_nrep.cpp
wb/lib/wb/src/wb_nrep.cpp
+3
-3
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+112
-67
xtt/lib/ge/src/ge_graph.cpp
xtt/lib/ge/src/ge_graph.cpp
+4
-0
No files found.
wb/lib/wb/src/wb_attribute.cpp
View file @
1b2a9854
...
...
@@ -234,7 +234,7 @@ wb_attribute::wb_attribute(const wb_attribute& pa, int idx, const char *aname) :
{
pwr_tCid
cid
;
wb_attrname
n
;
char
attrname
[
120
]
;
pwr_tAName
attrname
;
if
(
!
cdh_tidIsCid
(
pa
.
tid
())
||
pa
.
m_orep
==
0
)
return
;
...
...
wb/lib/wb/src/wb_attrname.cpp
View file @
1b2a9854
...
...
@@ -40,13 +40,13 @@
wb_attrname
::
wb_attrname
(
const
char
*
name
)
{
try
{
char
str
[
80
]
;
pwr_tOName
str
;
if
(
*
name
!=
'.'
)
{
strcpy
(
str
,
"."
);
str
cat
(
str
,
name
);
str
ncat
(
str
,
name
,
sizeof
(
str
)
-
1
);
}
else
str
cpy
(
str
,
name
);
str
ncpy
(
str
,
name
,
sizeof
(
str
)
);
m_nrep
=
new
wb_nrep
(
str
);
m_sts
=
LDH__SUCCESS
;
m_nrep
->
ref
();
...
...
wb/lib/wb/src/wb_nav.cpp
View file @
1b2a9854
...
...
@@ -1788,7 +1788,7 @@ int Nav::get_select( pwr_sAttrRef *attrref, int *is_attr)
brow_tNode
*
node_list
;
int
node_count
;
Item
*
item
;
pwr_t
O
Name
attr_str
;
pwr_t
A
Name
attr_str
;
int
sts
,
size
;
brow_GetSelectedNodes
(
brow_ctx
,
&
node_list
,
&
node_count
);
...
...
wb/lib/wb/src/wb_nrep.cpp
View file @
1b2a9854
...
...
@@ -687,7 +687,7 @@ char *wb_nrep::objectName(const char *n, char *res)
char
*
wb_nrep
::
pathName
(
const
char
*
n
,
char
*
res
)
{
static
char
result
[
80
]
;
static
pwr_tOName
result
;
if
(
num_seg
<=
1
)
{
if
(
res
)
{
...
...
@@ -745,7 +745,7 @@ char *wb_nrep::segmentName(const char *n, int idx, char *res)
char
*
wb_nrep
::
attributeName
(
const
char
*
n
,
int
idx
,
char
*
res
)
{
static
char
result
[
80
]
;
static
pwr_tOName
result
;
if
(
idx
>=
num_attr
||
idx
<
0
)
{
if
(
res
)
{
...
...
@@ -883,7 +883,7 @@ char *wb_nrep::nameName(const char *n, int ntype, char *res)
char
*
wb_nrep
::
unatName
(
const
char
*
name
)
{
static
char
result
[
80
];
static
char
result
[
256
];
const
char
*
s
;
char
*
su
;
...
...
xtt/lib/ge/src/ge_dyn.cpp
View file @
1b2a9854
This diff is collapsed.
Click to expand it.
xtt/lib/ge/src/ge_graph.cpp
View file @
1b2a9854
...
...
@@ -2669,6 +2669,10 @@ static int graph_grow_cb( GlowCtx *ctx, glow_tEvent event)
sprintf
(
name
,
"C%d"
,
grow_IncrNextObjectNameNumber
(
graph
->
grow
->
ctx
));
grow_SetObjectName
(
move_list
[
i
],
name
);
break
;
case
glow_eObjectType_GrowGroup
:
sprintf
(
name
,
"Grp%d_"
,
grow_IncrNextObjectNameNumber
(
graph
->
grow
->
ctx
));
grow_SetObjectName
(
move_list
[
i
],
name
);
break
;
default:
sprintf
(
name
,
"O%d"
,
grow_IncrNextObjectNameNumber
(
graph
->
grow
->
ctx
));
grow_SetObjectName
(
move_list
[
i
],
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