/[weechat]/weechat/src/common/weechat.c
ViewVC logotype

Diff of /weechat/src/common/weechat.c

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

revision 1.1 by flashcode, Sat Oct 25 14:49:19 2003 UTC revision 1.2 by flashcode, Sun Oct 26 13:21:08 2003 UTC
# Line 36  Line 36 
36   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37   */   */
38    
   
39  /* weechat.c: core functions for WeeChat */  /* weechat.c: core functions for WeeChat */
40    
41    
42    #ifdef HAVE_CONFIG_H
43    #include "config.h"
44    #endif
45    
46  #include <errno.h>  #include <errno.h>
47  #include <stdlib.h>  #include <stdlib.h>
48  #include <stdio.h>  #include <stdio.h>
# Line 49  Line 52 
52  #include <time.h>  #include <time.h>
53    
54  #include "weechat.h"  #include "weechat.h"
55  #include "config.h"  #include "weeconfig.h"
56  #include "command.h"  #include "command.h"
57  #include "../irc/irc.h"  #include "../irc/irc.h"
58  #include "../gui/gui.h"  #include "../gui/gui.h"
# Line 128  wee_parse_args (int argc, char *argv[]) Line 131  wee_parse_args (int argc, char *argv[])
131          else if ((strcmp (argv[i], "-v") == 0)          else if ((strcmp (argv[i], "-v") == 0)
132                   || (strcmp (argv[i], "--version") == 0))                   || (strcmp (argv[i], "--version") == 0))
133          {          {
134              printf (WEECHAT_VERSION "\n");              printf (PACKAGE_VERSION "\n");
135              exit (0);              exit (0);
136          }          }
137          else          else
# Line 280  main (int argc, char *argv[]) Line 283  main (int argc, char *argv[])
283      {      {
284          gui_printf_color (NULL, COLOR_WIN_CHAT, _("%sWelcome to "),          gui_printf_color (NULL, COLOR_WIN_CHAT, _("%sWelcome to "),
285                            (cfg_look_startup_logo) ? "      " : "");                            (cfg_look_startup_logo) ? "      " : "");
286          gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX2, WEECHAT_NAME);          gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX2, PACKAGE_NAME);
287          gui_printf_color (NULL, COLOR_WIN_CHAT,          gui_printf_color (NULL, COLOR_WIN_CHAT,
288                            ", %s\n", cfg_look_weechat_slogan);                            ", %s\n", cfg_look_weechat_slogan);
289      }      }
290      if (cfg_look_startup_version)      if (cfg_look_startup_version)
291      {      {
292          gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX2,          gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX2,
293                            "%s" WEECHAT_NAME_AND_VERSION,                            "%s" PACKAGE_STRING,
294                            (cfg_look_startup_logo) ? "    " : "");                            (cfg_look_startup_logo) ? "    " : "");
295          gui_printf_color (NULL, COLOR_WIN_CHAT,          gui_printf_color (NULL, COLOR_WIN_CHAT,
296                            ", %s %s %s\n",                            ", %s %s %s\n",

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26