Rev 1668 | Rev 2617 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1668 | Rev 2615 | ||
---|---|---|---|
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"); |
|
- | 29 | #elif LANG_RUS |
|
- | 30 | printf (" ©« ¥ ©¤¥!\n\r"); |
|
- | 31 | #endif |
|
27 | return FALSE; |
32 | return FALSE; |
28 | } |
33 | } |
29 | } |
34 | } |
30 | else |
35 | else |
31 | { |
36 | { |
32 | strcpy(temp, cur_dir); |
37 | strcpy(temp, cur_dir); |
- | 38 | if (temp[strlen(temp)-1] != '/') |
|
- | 39 | strcat(temp, "/"); // add slash |
|
33 | strcat(temp, file); |
40 | strcat(temp, file); |
Line 34... | Line 41... | ||
34 | 41 | ||
35 | if ( !file_check(temp) ) |
42 | if ( !file_check(temp) ) |
- | 43 | { |
|
- | 44 | #if LANG_ENG |
|
- | 45 | printf (" File not found!\n\r"); |
|
- | 46 | #elif LANG_RUS |
|
- | 47 | printf (" ©« ¥ ©¤¥!\n\r"); |
|
36 | { |
48 | #endif |
37 | return FALSE; |
49 | return FALSE; |
38 | } |
50 | } |
Line 39... | Line 51... | ||
39 | } |
51 | } |