Rev 7246 | Rev 7984 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7246 | Rev 7768 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | #ifndef INCLUDE_FILESYSTEM_H |
5 | #ifndef INCLUDE_FILESYSTEM_H |
6 | #include "../lib/fs.h" |
6 | #include "../lib/fs.h" |
7 | #endif |
7 | #endif |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | #ifdef LANG_RUS |
9 | #ifdef LANG_RUS |
10 | #define _TEXT_ERROR_ADD "'訡ª ¯à¨ § £à㧪¥ ¡¨¡«¨®â¥ª¨" |
10 | #define _TEXT_ERROR_ADD "'訡ª ¯à¨ § £à㧪¥ ¡¨¡«¨®â¥ª¨\n" |
11 | #elif LANG_EST |
11 | #elif LANG_EST |
12 | #define _TEXT_ERROR_ADD "'Viga teegi laadimisel" |
12 | #define _TEXT_ERROR_ADD "'Viga teegi laadimisel\n" |
13 | #else |
13 | #else |
14 | #define _TEXT_ERROR_ADD "'Error while loading library" |
14 | #define _TEXT_ERROR_ADD "'Error while loading library\n" |
Line 15... | Line 15... | ||
15 | #endif |
15 | #endif |
Line 16... | Line 16... | ||
16 | 16 | ||
17 | char a_libdir[43] = "/sys/lib/\0"; |
17 | char a_libdir[43] = "/sys/lib/\0"; |
18 | 18 | ||
19 | :inline void error_init(dword text) |
19 | :inline void error_init(dword lirary_path) |
- | 20 | { |
|
- | 21 | char error_text[1024]; |
|
20 | { |
22 | strcpy(#error_text, _TEXT_ERROR_ADD); |
21 | dword TEXT_ERROR[1024]; |
23 | strcat(#error_text, lirary_path); |
Line 22... | Line 24... | ||
22 | sprintf(TEXT_ERROR, "%s `%s`' -E",_TEXT_ERROR_ADD,text); |
24 | strcat(#error_text, "' -E"); |
23 | notify(TEXT_ERROR); |
25 | notify(#error_text); |
24 | } |
26 | } |