/[LeafOK_CVS]/lbbs/src/menu_proc.c
ViewVC logotype

Diff of /lbbs/src/menu_proc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Fri May 6 15:50:23 2005 UTC Revision 1.3 by sysadm, Sat May 7 09:28:12 2005 UTC
# Line 49  exec_mbem(const char *str) Line 49  exec_mbem(const char *str)
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      }      }
# Line 85  license (const char *s) Line 85  license (const char *s)
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  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1