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

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.457 by sf-exg, Fri Oct 22 18:03:10 2010 UTC vs.
Revision 1.459 by sf-exg, Thu Nov 18 17:28:31 2010 UTC

3448 { 3448 {
3449 int changed = 0; 3449 int changed = 0;
3450 3450
3451 if (*str != ';') 3451 if (*str != ';')
3452 { 3452 {
3453 /* reset to default scaling :*/
3454 bgPixmap.unset_geometry ();
3455 if (bgPixmap.set_file (str)) /* change pixmap */ 3453 if (bgPixmap.set_file (str)) /* change pixmap */
3454 {
3456 changed++; 3455 changed++;
3457 str = strchr (str, ';'); 3456 str = strchr (str, ';');
3458 if (str == NULL) 3457 if (str == NULL)
3459 bgPixmap.set_defaultGeometry (); 3458 bgPixmap.set_defaultGeometry ();
3459 else
3460 bgPixmap.set_geometry (str+1);
3461 }
3460 } 3462 }
3461 3463 else
3462 while (str)
3463 { 3464 {
3464 str++; 3465 str++;
3465 if (bgPixmap.set_geometry (str)) 3466 if (bgPixmap.set_geometry (str, true))
3466 changed++; 3467 changed++;
3467 str = strchr (str, ';');
3468 } 3468 }
3469 3469
3470 if (changed) 3470 if (changed)
3471 update_background (); 3471 update_background ();
3472 } 3472 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines