From 1f1ac04df381d7c38e09ca9471fcf54c18311b50 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 13 Nov 2007 23:55:03 +0000 Subject: [PATCH] * Update C++ bindings after cucul_set_dither_mode() deprecation. --- cxx/cucul++.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cxx/cucul++.cpp b/cxx/cucul++.cpp index fa35ff1..45e1752 100644 --- a/cxx/cucul++.cpp +++ b/cxx/cucul++.cpp @@ -355,12 +355,12 @@ char const *const * Dither::getCharsetList() void Dither::setMode(char const *cv) { - cucul_set_dither_mode(dither, cv); + cucul_set_dither_algorithm(dither, cv); } char const *const * Dither::getModeList(void) { - return cucul_get_dither_mode_list(dither); + return cucul_get_dither_algorithm_list(dither); } void Dither::Bitmap(Cucul *cv, int x, int y, int w, int h, void *v)