comparison mcabber/src/main.c @ 1241:3a4018f18bdf

Cosmetics
author Mikael Berthe <mikael@lilotux.net>
date Sat, 16 Jun 2007 19:41:09 +0200
parents 80008fe2a4f2
children eb38963e082f
comparison
equal deleted inserted replaced
1240:a54645448e00 1241:3a4018f18bdf
317 if (c == -1) { 317 if (c == -1) {
318 break; 318 break;
319 } else 319 } else
320 switch (c) { 320 switch (c) {
321 case 'h': 321 case 'h':
322 printf("Usage: %s [-f mcabberrc_file]\n\n", argv[0]); 322 printf("Usage: %s [-f mcabberrc_file]\n\n", argv[0]);
323 printf("Thanks to AjMacias for cabber!\n\n"); 323 printf("Thanks to AjMacias for cabber!\n\n");
324 return 0; 324 return 0;
325 case 'f': 325 case 'f':
326 configFile = g_strdup(optarg); 326 configFile = g_strdup(optarg);
327 break; 327 break;
328 } 328 }
329 } 329 }
330 330
331 /* Initialize command system, roster and default key bindings */ 331 /* Initialize command system, roster and default key bindings */
332 cmd_init(); 332 cmd_init();
421 ret = process_key(kcode); 421 ret = process_key(kcode);
422 } else { 422 } else {
423 scr_CheckAutoAway(FALSE); 423 scr_CheckAutoAway(FALSE);
424 424
425 if (update_roster) 425 if (update_roster)
426 scr_DrawRoster(); 426 scr_DrawRoster();
427 427
428 jb_main(); 428 jb_main();
429 } 429 }
430 } 430 }
431 431