• Show log

    Commit

  • Hash : ba4faf6e
    Author : Patrick Steinhardt
    Date : 2018-02-08T17:15:33

    buf_text: remove `offset` parameter of BOM detection function The function to detect a BOM takes an offset where it shall look for a BOM. No caller uses that, and searching for the BOM in the middle of a buffer seems to be very unlikely, as a BOM should only ever exist at file start. Remove the parameter, as it has already caused confusion due to its weirdness.