From d0eecdf2c9816a6e984ba286880ee843eb0b084a Mon Sep 17 00:00:00 2001 From: Skarn Date: Fri, 16 Oct 2020 19:24:31 +0300 Subject: [PATCH] finalize multiselect UX, fix typo --- src/noggit/TextureManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/noggit/TextureManager.cpp b/src/noggit/TextureManager.cpp index 5d6c5ad8..569ed4b1 100644 --- a/src/noggit/TextureManager.cpp +++ b/src/noggit/TextureManager.cpp @@ -230,7 +230,7 @@ void blp_texture::finishLoading() if (f.isEof()) { finished = true; - throw std::runtime_error ("File " + filename + " does not exists"); + throw std::runtime_error ("File " + filename + " does not exist"); } char const* lData = f.getPointer(); @@ -250,6 +250,7 @@ void blp_texture::finishLoading() { finished = true; throw std::logic_error ("unimplemented BLP colorEncoding"); + } f.close();