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

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.221 by sf-exg, Fri May 25 09:27:35 2012 UTC vs.
Revision 1.222 by sf-exg, Sat May 26 08:10:25 2012 UTC

674} 674}
675 675
676void 676void
677rxvt_term::parse_image (int id, const char *type, const char *arg) 677rxvt_term::parse_image (int id, const char *type, const char *arg)
678{ 678{
679 rxvt_image *image; 679 if (image_vec.size () < id + 1)
680 image_vec.resize (id + 1);
680 681
681 for (image = image_vec.begin (); image < image_vec.end (); image++) 682 rxvt_image *image = &image_vec[id];
682 if (image->id == id)
683 break;
684
685 if (image == image_vec.end ())
686 {
687 image = new_image ();
688 image->id = id;
689 }
690} 683}
691# endif 684# endif
692 685
693rxvt_image::rxvt_image () 686rxvt_image::rxvt_image ()
694{ 687{
695 id =
696 alpha = 688 alpha =
697 flags = 689 flags =
698 h_scale = 690 h_scale =
699 v_scale = 691 v_scale =
700 h_align = 692 h_align =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines