Changeset 274 for MMagic

Show
Ignore:
Timestamp:
09/19/06 16:54:34 (6 years ago)
Author:
knok
Message:

oct() -> hex()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MMagic/trunk/MMagic.pm

    r273 r274  
    12801280        # do octal/hex conversion 
    12811281        # manmin 
    1282         $testval =~ s/\\(x[0-9a-fA-F][0-9a-fA-F])/chr(oct($1))/eg; 
     1282        $testval =~ s/\\(x[0-9a-fA-F][0-9a-fA-F])/chr(hex($1))/eg; 
    12831283        $testval =~ s/\\([0-7][0-7]?[0-7]?)/chr(oct($1))/eg; 
    12841284        # end manmin