quotes are separated out into their own DB.
Also, don't use item quotes when doing an item dump or during tutorial.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6547 c06c8d41-db1a-0410-9941-cceddc491573
UOWPKKEVEMM6D67GLKB2PKCAWJU2GJJQTOLF6IQ6ZQB5WB3UH5JQC
JZSJAFHPIC5L6BVNOE3CWEI3IMUOUE7IVEPIKVSLS5KVGJLQBDLQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
2KTJHQUX2LTU2BCLS5YXVRRKMOYKKIZAPF2LBKORFGSHEN5IO3IAC
4RFKVDJKTCRBZU6WPJ2E5OVI5IRPY3UTRPOBLC5QHY4CQJJTLZKQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
const std::string description = get_item_description( item, 1 );
const unsigned int lineWidth = get_number_of_cols() - 1;
const int height = get_number_of_lines();
std::string description = get_item_description( item, 1, false,
Options.tutorial_left);
int num_lines = _count_desc_lines(description, lineWidth) + 1;
// XXX: hack: Leave room for "Inscribe item?" and the blank line above
// it by removing item quote. This should really be taken care of
// by putting the quotes into a separate DB and treating them as
// a suffix that can be ignored by print_description().
if (height - num_lines <= 2)
description = get_item_description( item, 1, false, true);