cherry-pick.FILE5_18-2-g1ecdd15.fix-targa-detection.patch 666 B

1234567891011121314151617181920212223242526
  1. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  2. Date: Fri Mar 28 19:06:09 2014 +0000
  3. Upstream-Commit: 1ecdd15c966ae6bee3ba558a53edf1dd4155d204
  4. Description:
  5. reduce strength of windows cursors so that they don't win over Targa files
  6. (Christoph Biedl)
  7. --- a/magic/Magdir/msdos
  8. +++ b/magic/Magdir/msdos
  9. @@ -590,7 +590,7 @@
  10. >4 ubyte !0 \b, %d colors
  11. 0 belong 0x00000100
  12. -
  13. +!:strength - 2
  14. >9 byte 0
  15. >>0 byte x MS Windows icon resource
  16. !:mime image/x-icon
  17. @@ -614,6 +614,7 @@
  18. 0 belong 0x00000200
  19. >9 byte 0
  20. +!:strength - 2
  21. >>0 byte x MS Windows cursor resource
  22. !:mime image/x-cur
  23. >>4 use cur-dir