summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cairomm/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cairomm/exception.cc b/cairomm/exception.cc
index e4114bf..e389151 100644
--- a/cairomm/exception.cc
+++ b/cairomm/exception.cc
@@ -29,7 +29,7 @@ inline static const char* string_or_empty(const char* text)
//TODO: Is it wise to assume that the string is ASCII, as expected by std::logic_error?
logic_error::logic_error(ErrorStatus status)
-: std::logic_error( string_or_empty(cairo_status_to_string((cairo_status_t)m_status)) ),
+: std::logic_error( string_or_empty(cairo_status_to_string((cairo_status_t)status)) ),
m_status(status)
{
}