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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.46 by pcg, Tue Feb 24 22:28:42 2004 UTC vs.
Revision 1.48 by pcg, Wed Mar 3 04:07:52 2004 UTC

385 385
386 p = malloc (size); 386 p = malloc (size);
387 if (p) 387 if (p)
388 return p; 388 return p;
389 389
390 fprintf (stderr, APL_NAME ": memory allocation failure. Aborting"); 390 fprintf (stderr, RESNAME ": memory allocation failure. Aborting");
391 rxvt_clean_exit (); 391 rxvt_clean_exit ();
392 exit (EXIT_FAILURE); 392 exit (EXIT_FAILURE);
393 /* NOTREACHED */ 393 /* NOTREACHED */
394} 394}
395 395
401 401
402 p = calloc (number, size); 402 p = calloc (number, size);
403 if (p) 403 if (p)
404 return p; 404 return p;
405 405
406 fprintf (stderr, APL_NAME ": memory allocation failure. Aborting"); 406 fprintf (stderr, RESNAME ": memory allocation failure. Aborting");
407 rxvt_clean_exit (); 407 rxvt_clean_exit ();
408 exit (EXIT_FAILURE); 408 exit (EXIT_FAILURE);
409 /* NOTREACHED */ 409 /* NOTREACHED */
410} 410}
411 411
420 else 420 else
421 p = malloc (size); 421 p = malloc (size);
422 if (p) 422 if (p)
423 return p; 423 return p;
424 424
425 fprintf (stderr, APL_NAME ": memory allocation failure. Aborting"); 425 fprintf (stderr, RESNAME ": memory allocation failure. Aborting");
426 rxvt_clean_exit (); 426 rxvt_clean_exit ();
427 exit (EXIT_FAILURE); 427 exit (EXIT_FAILURE);
428 /* NOTREACHED */ 428 /* NOTREACHED */
429} 429}
430 430
1036 0, TermWin_TotalWidth (), menuBar_TotalHeight ()); 1036 0, TermWin_TotalWidth (), menuBar_TotalHeight ());
1037 1037
1038 XMoveResizeWindow (display->display, TermWin.vt, window_vt_x, 1038 XMoveResizeWindow (display->display, TermWin.vt, window_vt_x,
1039 window_vt_y, TermWin_TotalWidth (), 1039 window_vt_y, TermWin_TotalWidth (),
1040 TermWin_TotalHeight ()); 1040 TermWin_TotalHeight ());
1041 scr_clear (); 1041 scr_clear (height != old_height);
1042#ifdef XPM_BACKGROUND 1042#ifdef XPM_BACKGROUND
1043 resize_pixmap (); 1043 resize_pixmap ();
1044#endif 1044#endif
1045 1045
1046 } 1046 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines