From 2932a6e6bd3184e0275b09be9f62fc43ab2bb99b Mon Sep 17 00:00:00 2001 From: Christopher Mason Date: Tue, 20 May 2014 23:03:31 +0000 Subject: [PATCH] Fix a few missing breaks in resolution switch statements. --- src/imagewriter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/imagewriter.cpp b/src/imagewriter.cpp index 42be88a..8db56ae 100644 --- a/src/imagewriter.cpp +++ b/src/imagewriter.cpp @@ -1420,11 +1420,13 @@ void Imagewriter::setupBitImage(Bit8u dens, Bit16u numCols) { bitGraph.vertDens = 72; bitGraph.adjacent = true; bitGraph.bytesColumn = 1; + break; case 6: bitGraph.horizDens = 144; bitGraph.vertDens = 72; bitGraph.adjacent = true; bitGraph.bytesColumn = 1; + break; case 7: bitGraph.horizDens = 160; bitGraph.vertDens = 72; @@ -1467,11 +1469,13 @@ void Imagewriter::setupBitImage(Bit8u dens, Bit16u numCols) { bitGraph.vertDens = 216; bitGraph.adjacent = true; bitGraph.bytesColumn = 3; + break; case 14: bitGraph.horizDens = 288; bitGraph.vertDens = 216; bitGraph.adjacent = true; bitGraph.bytesColumn = 3; + break; case 15: bitGraph.horizDens = 320; bitGraph.vertDens = 216;