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.42 by sf-exg, Sun Aug 29 13:24:30 2010 UTC vs.
Revision 1.43 by sf-exg, Sun Aug 29 13:40:42 2010 UTC

681 target->asimman = create_generic_imageman (target->rs[Rs_path]); 681 target->asimman = create_generic_imageman (target->rs[Rs_path]);
682 682
683 if (const char *p = strchr (file, ';')) 683 if (const char *p = strchr (file, ';'))
684 { 684 {
685 size_t len = p - file; 685 size_t len = p - file;
686 char *f = (char *)malloc (len + 1); 686 char *f = rxvt_temp_buf<char> (len + 1);
687 memcpy (f, file, len); 687 memcpy (f, file, len);
688 f[len] = '\0'; 688 f[len] = '\0';
689 original_asim = get_asimage (target->asimman, f, 0xFFFFFFFF, 100); 689 original_asim = get_asimage (target->asimman, f, 0xFFFFFFFF, 100);
690 free (f);
691 } 690 }
692 else 691 else
693 original_asim = get_asimage (target->asimman, file, 0xFFFFFFFF, 100); 692 original_asim = get_asimage (target->asimman, file, 0xFFFFFFFF, 100);
694 693
695 return original_asim; 694 return original_asim;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines