Tk Library Source Code

View Ticket
Login
Ticket UUID: 3470437
Title: Padding on and mask rasters incorrect.
Type: Bug Version: None
Submitter: rkroll Created on: 2012-01-06 20:49:12
Subsystem: tklib :: ico Assigned To: afaupell
Priority: 5 Medium Severity:
Status: Open Last Modified: 2012-01-06 20:49:12
Resolution: None Closed By:
    Closed on:
Description:
in proc ::ico::getAndMaskFromColors {colors}

Padding calculation might look better like this:

  append l [string repeat 0 [expr {(32 - ([string length $l] % 32))%32}]]