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
5412cec6
Commit
5412cec6
authored
Sep 12, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge window object, error message for window with no initial graph removed
parent
6c660180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
xtt/lib/glow/src/glow_growwindow.cpp
xtt/lib/glow/src/glow_growwindow.cpp
+6
-3
No files found.
xtt/lib/glow/src/glow_growwindow.cpp
View file @
5412cec6
...
...
@@ -834,6 +834,7 @@ void GrowWindow::new_ctx()
{
char
fname
[
200
];
int
sts
;
int
no_file
=
strcmp
(
file_name
,
"_no_"
)
==
0
?
1
:
0
;
// No initial graph
if
(
strchr
(
file_name
,
'/'
)
==
0
)
{
strcpy
(
fname
,
"$pwrp_exe/"
);
...
...
@@ -862,9 +863,11 @@ void GrowWindow::new_ctx()
window_ctx
->
background_disabled
=
1
;
strcpy
(
window_ctx
->
owner
,
owner
);
sts
=
window_ctx
->
open
(
fname
,
glow_eSaveMode_Edit
);
if
(
EVEN
(
sts
))
printf
(
"** Unable to open graph %s
\n
"
,
fname
);
if
(
!
no_file
)
{
sts
=
window_ctx
->
open
(
fname
,
glow_eSaveMode_Edit
);
if
(
EVEN
(
sts
))
printf
(
"** Unable to open graph %s
\n
"
,
fname
);
}
strcpy
(
input_file_name
,
file_name
);
if
(
window_ctx
->
background_color
!=
glow_eDrawType_Inherit
)
{
...
...
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