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
fafdae06
Commit
fafdae06
authored
Feb 09, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 62.20.65.89:/data1/git/pwr
parents
bcf58497
aec8e800
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
src/lib/co/src/co_lng.cpp
src/lib/co/src/co_lng.cpp
+13
-0
No files found.
src/lib/co/src/co_lng.cpp
View file @
fafdae06
...
@@ -537,6 +537,7 @@ bool Lng::is_installed( lng_eLanguage language)
...
@@ -537,6 +537,7 @@ bool Lng::is_installed( lng_eLanguage language)
pwr_tFileName
found_file
;
pwr_tFileName
found_file
;
pwr_tStatus
sts
;
pwr_tStatus
sts
;
strcpy
(
fname
,
"$pwr_exe/"
);
strcpy
(
fname
,
"$pwr_exe/"
);
strcat
(
fname
,
lang_to_str
(
language
));
strcat
(
fname
,
lang_to_str
(
language
));
strcat
(
fname
,
"/xtt_lng.dat"
);
strcat
(
fname
,
"/xtt_lng.dat"
);
...
@@ -546,6 +547,18 @@ bool Lng::is_installed( lng_eLanguage language)
...
@@ -546,6 +547,18 @@ bool Lng::is_installed( lng_eLanguage language)
sts
=
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_INIT
);
sts
=
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_INIT
);
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_END
);
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
return
true
;
if
(
ODD
(
sts
))
return
true
;
// Try $pwr_eexe also
strcpy
(
fname
,
"$pwr_eexe/"
);
strcat
(
fname
,
lang_to_str
(
language
));
strcat
(
fname
,
"/xtt_lng.dat"
);
dcli_translate_filename
(
fname
,
fname
);
sts
=
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_INIT
);
dcli_search_file
(
fname
,
found_file
,
DCLI_DIR_SEARCH_END
);
if
(
ODD
(
sts
))
return
true
;
return
false
;
return
false
;
}
}
...
...
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