From 9da157b5ea0f15c1eede1b960055ac3ba3061038 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 23 Feb 2008 10:20:44 +0000 Subject: [PATCH] fixed bug #1900098 - SVN trunk FTBFS on Debian GNU/Linux git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5553 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/icon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/icon.cpp b/Source/icon.cpp index 71a194df..dffb9b0e 100644 --- a/Source/icon.cpp +++ b/Source/icon.cpp @@ -362,7 +362,7 @@ int generate_unicons_offsets(LPBYTE exeHeader, size_t exeHeaderSize, LPBYTE unin if (offset > exeHeaderSize) { - throw exception("invalid icon offset (possibly compressed icon)"); + throw runtime_error("invalid icon offset (possibly compressed icon)"); } size = *(LPDWORD)seeker;