Rev 2615 | Rev 3245 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2615 | Rev 2617 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | char buf[81]; //¡ãä¥à |
7 | char buf[81]; //¡ãä¥à |
8 | char temp[256]; |
8 | char temp[256]; |
9 | unsigned flags; |
9 | unsigned flags; |
10 | 10 | ||
Line 11... | Line 11... | ||
11 | if (NULL == file) |
11 | if (strlen(file)<1) |
12 | { |
12 | { |
13 | #if LANG_ENG |
13 | #if LANG_ENG |
14 | printf (" more |
14 | printf (" more |
15 | #elif LANG_RUS |
15 | #elif LANG_RUS |
16 | printf (" more <¨¬ï ä ©« >\n\r"); |
16 | printf (" more <¨¬ï ä ©« >\n\r"); |
Line 23... | Line 23... | ||
23 | strcpy(temp, file); |
23 | strcpy(temp, file); |
24 | 24 | ||
Line 25... | Line 25... | ||
25 | if ( !file_check(temp) ) |
25 | if ( !file_check(temp) ) |
26 | { |
26 | { |
27 | #if LANG_ENG |
- | |
28 | printf (" File not found!\n\r"); |
27 | file_not_found(file); |
29 | #elif LANG_RUS |
- | |
30 | printf (" ©« ¥ ©¤¥!\n\r"); |
- | |
31 | #endif |
- | |
32 | return FALSE; |
28 | return FALSE; |
33 | } |
29 | } |
34 | } |
30 | } |
35 | else |
31 | else |
36 | { |
32 | { |
Line 40... | Line 36... | ||
40 | strcat(temp, file); |
36 | strcat(temp, file); |
41 | 37 | ||
Line 42... | Line 38... | ||
42 | if ( !file_check(temp) ) |
38 | if ( !file_check(temp) ) |
43 | { |
39 | { |
44 | #if LANG_ENG |
- | |
45 | printf (" File not found!\n\r"); |
40 | file_not_found(file); |
46 | #elif LANG_RUS |
- | |
47 | printf (" ©« ¥ ©¤¥!\n\r"); |
- | |
48 | #endif |
- | |
49 | return FALSE; |
41 | return FALSE; |
50 | } |
42 | } |
51 | } |
43 | } |
Line 52... | Line 44... | ||
52 | 44 |