--- rxvt-unicode/src/rxvt.C 2003/11/24 17:28:08 1.1 +++ rxvt-unicode/src/rxvt.C 2003/11/25 15:25:17 1.3 @@ -1,4 +1,5 @@ #include "rxvtlib.h" +#include "iom.h" /*----------------------------------------------------------------------*/ /* main() */ @@ -6,10 +7,10 @@ int main(int argc, const char *const *argv) { - if (rxvt_init(argc, argv) == NULL) - return EXIT_FAILURE; + if (!rxvt_init(argc, argv)) + return EXIT_FAILURE; - dR; - rxvt_main_loop(aR); /* main processing loop */ - return EXIT_SUCCESS; + iom.loop (); + + return EXIT_SUCCESS; }