summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/png.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-04-12 21:13:43 +0000
committerTavian Barnes <tavianator@gmail.com>2009-04-12 21:13:43 +0000
commit11c2b9bbc790216eeb22a1e4d4de8161394c3fbf (patch)
treef1233ffb2dcdb2d0ae2e5976fa173c9ab4129475 /libdimensionxx/png.cpp
parentb9e19e076662ae5743b9c81eb238fe11204f6dbd (diff)
downloaddimension-11c2b9bbc790216eeb22a1e4d4de8161394c3fbf.tar.xz
Use Dimension::SEVERITY_* rather than DMNSN_SEVERITY for calling
dmnsn_error from C++.
Diffstat (limited to 'libdimensionxx/png.cpp')
-rw-r--r--libdimensionxx/png.cpp2
1 files changed, 1 insertions, 1 deletions
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.");
}
}