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
cf52c1e2
Commit
cf52c1e2
authored
Sep 06, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow_DisplayWarrant can be
started as workprocedure
parent
a63dba5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
src/lib/co/src/co_wow.c
src/lib/co/src/co_wow.c
+5
-4
src/lib/co/src/co_wow.h
src/lib/co/src/co_wow.h
+2
-2
No files found.
src/lib/co/src/co_wow.c
View file @
cf52c1e2
/**
* Proview $Id: co_wow.c,v 1.
7 2005-09-01 14:57:52
claes Exp $
* Proview $Id: co_wow.c,v 1.
8 2005-09-06 14:17:10
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -749,7 +749,7 @@ void warranty_help_cb( void *ctx, void *data)
wow_DisplayLicense
(
(
Widget
)
data
);
}
void
wow_DisplayWarranty
(
Widget
father
)
int
wow_DisplayWarranty
(
Widget
father
)
{
char
text
[
4000
];
Arg
arg
[
12
];
...
...
@@ -769,10 +769,10 @@ void wow_DisplayWarranty( Widget father)
fp
=
fopen
(
fname
,
"r"
);
if
(
!
fp
)
{
strcpy
(
fname
,
"$pwr_exe/en_us/acceptli
n
cense.txt"
);
strcpy
(
fname
,
"$pwr_exe/en_us/acceptlicense.txt"
);
dcli_translate_filename
(
fname
,
fname
);
fp
=
fopen
(
fname
,
"r"
);
if
(
!
fp
)
return
;
if
(
!
fp
)
return
1
;
}
for
(
i
=
0
;
i
<
sizeof
(
text
)
-
1
;
i
++
)
{
...
...
@@ -833,6 +833,7 @@ void wow_DisplayWarranty( Widget father)
XmFontListFree
(
fontlist
);
XtManageChild
(
question_widget
);
return
1
;
}
void
wow_DisplayLicense
(
Widget
father
)
...
...
src/lib/co/src/co_wow.h
View file @
cf52c1e2
/**
* Proview $Id: co_wow.h,v 1.
6 2005-09-01 14:57:52
claes Exp $
* Proview $Id: co_wow.h,v 1.
7 2005-09-06 14:17:10
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -93,7 +93,7 @@ void wow_GetLabel( Widget w, char *label);
void
wow_GetCSText
(
XmString
ar_value
,
char
*
t_buffer
);
int
wow_GetSelection
(
Widget
w
,
char
*
str
,
int
size
,
Atom
atom
);
void
wow_GetAtoms
(
Widget
w
,
Atom
*
graph_atom
,
Atom
*
objid_atom
,
Atom
*
attrref_atom
);
void
wow_DisplayWarranty
(
Widget
father
);
int
wow_DisplayWarranty
(
Widget
father
);
void
wow_DisplayLicense
(
Widget
father
);
#if defined __cplusplus
...
...
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