khaledhosny/ots — pull request #30 by jfkthame (2014-07-08 07:48:38+00:00)
Title: fix error messages in layout.cc that print a 4-char tag

There are a bunch of messages in layout.cc that incorrectly try to print a tag by using %4s and passing (char*)&tag as the argument. To ensure no more than 4 chars are printed, they need to use %4.4s as the format.

(In addition, the messages incorrectly refer to the tag as "table", but in these cases it's not the table name, it's a subsidiary tag - script, language or feature.)