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.458 by sf-exg, Thu Nov 18 17:28:12 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 */
3456 changed++; 3454 changed++;
3457 str = strchr (str, ';'); 3455 str = strchr (str, ';');
3458 if (str == NULL) 3456 if (str == NULL)
3459 bgPixmap.set_defaultGeometry (); 3457 bgPixmap.set_defaultGeometry ();
3458 else
3459 bgPixmap.set_geometry (str+1);
3460 } 3460 }
3461 3461 else
3462 while (str)
3463 { 3462 {
3464 str++; 3463 str++;
3465 if (bgPixmap.set_geometry (str)) 3464 if (bgPixmap.set_geometry (str, true))
3466 changed++; 3465 changed++;
3467 str = strchr (str, ';');
3468 } 3466 }
3469 3467
3470 if (changed) 3468 if (changed)
3471 update_background (); 3469 update_background ();
3472 } 3470 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines