From 11c2b9bbc790216eeb22a1e4d4de8161394c3fbf Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 12 Apr 2009 21:13:43 +0000 Subject: Use Dimension::SEVERITY_* rather than DMNSN_SEVERITY for calling dmnsn_error from C++. --- libdimensionxx/png.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdimensionxx') diff --git a/libdimensionxx/png.cpp b/libdimensionxx/png.cpp index 348b7a7..cd4925e 100644 --- a/libdimensionxx/png.cpp +++ b/libdimensionxx/png.cpp @@ -34,7 +34,7 @@ namespace Dimension try { write(); } catch (...) { - dmnsn_error(DMNSN_SEVERITY_MEDIUM, + dmnsn_error(SEVERITY_MEDIUM, "Writing canvas to PNG failed in PNG_Canvas destructor."); } } -- cgit v1.2.3