--- lbbs/src/menu_proc.c 2005/05/06 15:50:23 1.1 +++ lbbs/src/menu_proc.c 2005/05/07 09:28:12 1.3 @@ -49,14 +49,14 @@ exec_mbem(const char *str) func (); else if ((error = dlerror ()) != NULL) { clearscr (); - prints ("%s\n", error); + prints ("%s\r\n", error); press_any_key (); } dlclose (hdll); } else { clearscr (); - prints ("加载库文件 [%s] 失败!!\n\n", s + 5); - prints ("失败原因:%s", dlerror()); + prints ("加载库文件 [%s] 失败!!\r\n", s + 5); + prints ("失败原因:%s\r\n", dlerror()); press_any_key (); } } @@ -85,11 +85,19 @@ license (const char *s) int copyright (const char *s) { - char temp[256]; + char temp[256]; strcpy (temp, app_home_dir); strcat (temp, "data/copyright.txt"); display_file_ex (temp, 0, 1); - return REDRAW; + return REDRAW; +} + +int +notify_reload_menu (const char *s) +{ + kill (0, SIG_RELOAD_MENU); + + return REDRAW; }