summaryrefslogtreecommitdiffstats
path: root/libdimensionxx
diff options
context:
space:
mode:
Diffstat (limited to 'libdimensionxx')
-rw-r--r--libdimensionxx/png.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimensionxx/png.cpp b/libdimensionxx/png.cpp
index d7081bd..9283105 100644
--- a/libdimensionxx/png.cpp
+++ b/libdimensionxx/png.cpp
@@ -108,13 +108,13 @@ namespace Dimension
// Start the asynchronous task
dmnsn_progress *progress
- = dmnsn_png_write_canvas_async(canvas, cookie->file());
+ = dmnsn_png_write_canvas_async(m_canvas, cookie->file());
if (!progress) {
throw Dimension_Error("Starting background PNG write failed.");
}
// Return the Progress object
- return Progress(progresss, persister);
+ return Progress(progress, persister);
}
// Read a PNG file in the background
@@ -141,7 +141,7 @@ namespace Dimension
}
// Return the Progress object
- return Progress(progresss, persister);
+ return Progress(progress, persister);
}
// Construct an input PNG_Canvas from a background task