hwhw/kindlepdfviewer — pull request #325 by tigran123 (2012-09-26 13:12:31+00:00)
Title: Polishing the Screen:fb2bmp() function.

Just two minor cleanups in the function, nothing major:

1. Remove unused assert() around io.open of the input device. The failure
to open input device is already guarded by the "if inputf" code.

2. Remove unneeded assert() around io.open of the output device. This is
unneeded because we should not crash the whole application just because
we cannot write the screen dump (e.g. because filesystem is full, etc) ---
instead we should exit gracefully.