| 49 |
func (); |
func (); |
| 50 |
else if ((error = dlerror ()) != NULL) { |
else if ((error = dlerror ()) != NULL) { |
| 51 |
clearscr (); |
clearscr (); |
| 52 |
prints ("%s\n", error); |
prints ("%s\r\n", error); |
| 53 |
press_any_key (); |
press_any_key (); |
| 54 |
} |
} |
| 55 |
dlclose (hdll); |
dlclose (hdll); |
| 56 |
} else { |
} else { |
| 57 |
clearscr (); |
clearscr (); |
| 58 |
prints ("加载库文件 [%s] 失败!!\n\n", s + 5); |
prints ("加载库文件 [%s] 失败!!\r\n", s + 5); |
| 59 |
prints ("失败原因:%s", dlerror()); |
prints ("失败原因:%s\r\n", dlerror()); |
| 60 |
press_any_key (); |
press_any_key (); |
| 61 |
} |
} |
| 62 |
} |
} |
| 85 |
int |
int |
| 86 |
copyright (const char *s) |
copyright (const char *s) |
| 87 |
{ |
{ |
| 88 |
char temp[256]; |
char temp[256]; |
| 89 |
|
|
| 90 |
strcpy (temp, app_home_dir); |
strcpy (temp, app_home_dir); |
| 91 |
strcat (temp, "data/copyright.txt"); |
strcat (temp, "data/copyright.txt"); |
| 92 |
display_file_ex (temp, 0, 1); |
display_file_ex (temp, 0, 1); |
| 93 |
|
|
| 94 |
return REDRAW; |
return REDRAW; |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
int |
| 98 |
|
notify_reload_menu (const char *s) |
| 99 |
|
{ |
| 100 |
|
kill (0, SIG_RELOAD_MENU); |
| 101 |
|
|
| 102 |
|
return REDRAW; |
| 103 |
} |
} |