ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.C
(Generate patch)

Comparing rxvt-unicode/src/rxvt.C (file contents):
Revision 1.4 by pcg, Thu Nov 27 10:12:10 2003 UTC vs.
Revision 1.7 by pcg, Wed Mar 17 05:15:02 2004 UTC

1#include "../config.h"
1#include "rxvtlib.h" 2#include "rxvt.h"
2#include "iom.h"
3 3
4/*----------------------------------------------------------------------*/ 4/*----------------------------------------------------------------------*/
5/* main() */ 5/* main () */
6/* INTPROTO */
7int 6int
8main(int argc, const char *const *argv) 7main (int argc, const char *const *argv)
9{ 8try
9 {
10 rxvt_init_signals (); 10 rxvt_init_signals ();
11 11
12 rxvt_term *t = new rxvt_term;
13
12 if (!rxvt_init(argc, argv)) 14 if (!t->init (argc, argv))
15 return EXIT_FAILURE;
16
17 iom.loop ();
18
19 return EXIT_SUCCESS;
20 }
21catch (const class rxvt_failure_exception &e)
22 {
13 return EXIT_FAILURE; 23 return EXIT_FAILURE;
14 24 }
15 iom.loop ();
16
17 return EXIT_SUCCESS;
18}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines