Fix crash when output-preview-framework is missing
commit3367d53bf59625dd244de2289d2e3cdcf88eeeb9
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 28 May 2009 00:40:20 +0000 (27 17:40 -0700)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 7 Jun 2009 16:55:00 +0000 (7 17:55 +0100)
treedb7d84a6edd2d6207b09fc1ea4de089f06fb749d
parente34dbb34b9d4b42213bc838496ac051a02845c6a
Fix crash when output-preview-framework is missing

* If -dpreview is used when output-preview-framework
  does not exist for the given backend, LilyPond crashes.

  This patch implements checks for both output-framework
  and output-preview-framework, and issues warnings if
  they do not exist.

Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
lily/paper-book.cc