From dd14214e1ad46b9fa323be7e7e13c55c30085a67 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 20 Apr 2017 05:40:53 +0200 Subject: WIP: Correct calculation of FIG0/21 required size --- src/fig/FIGCarousel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fig/FIGCarousel.cpp') diff --git a/src/fig/FIGCarousel.cpp b/src/fig/FIGCarousel.cpp index 81f2100..6d89ad8 100644 --- a/src/fig/FIGCarousel.cpp +++ b/src/fig/FIGCarousel.cpp @@ -286,8 +286,8 @@ size_t FIGCarousel::carousel( if (written == 1 or written == 2) { std::stringstream ss; ss << "Assertion error: FIG" << fig_el->fig->figtype() << "/" << - fig_el->fig->figextension() << " wrote not enough data (" << - written << ")"; + fig_el->fig->figextension() << + " did not write enough data: (" << written << ")"; throw std::runtime_error(ss.str()); } -- cgit v1.2.3