help
Line | |
---|
1 | #include <stdlib.h> |
---|
2 | #include <string.h> |
---|
3 | #include "common_cor.h" |
---|
4 | |
---|
5 | char dictionary[256]; |
---|
6 | |
---|
7 | void process_cor_options(gengetopt_args_info* args) |
---|
8 | { |
---|
9 | if(args->dictionary_given) |
---|
10 | { |
---|
11 | expand_path(args->dictionary_arg,dictionary); |
---|
12 | } |
---|
13 | else if (args->dictionary_home_given && args->language_given) |
---|
14 | { |
---|
15 | char buf[255]; |
---|
16 | expand_path(args->dictionary_home_arg, buf); |
---|
17 | sprintf(dictionary,"%s/%s/cor.bin",buf,args->language_arg); |
---|
18 | } |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.