Ticket #4899: mamesswin.diff

File mamesswin.diff, 609 bytes (added by Koen Biermans, 17 years ago)

Removing chr(13) from msgs

  • make-messages.py

     
    117117                        old = '#: '+os.path.join(dirpath, thefile)[2:]
    118118                        new = '#: '+os.path.join(dirpath, file)[2:]
    119119                        msgs = msgs.replace(old, new)
     120                    msgs = msgs.replace(chr(13), '')
    120121                    if os.path.exists(potfile):
    121122                        # Strip the header
    122123                        msgs = '\n'.join(dropwhile(len, msgs.split('\n')))
Back to Top