Skip to content
  • John Lindgren's avatar
    Fix incorrect optimization in find_builtin_icon(). · 5aa939dc
    John Lindgren authored and Matthias Clasen's avatar Matthias Clasen committed
    When we found an icon with exactly the requested size, we'd stop
    searching immediately (good), but we'd neglect to set the returned
    min_difference to 0 (bad).  This caused theme_lookup_icon() to
    prefer other, potentially much worse, matches over the exact one.
    5aa939dc