This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 2dbb50cc23bc00e51259a943b416dea3d4d6cc52 Author: David Capello <[email protected]> Date: Thu May 5 15:18:50 2016 -0300 Fix exception text in doc::crop_image() --- src/doc/primitives.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/primitives.cpp b/src/doc/primitives.cpp index b59086b..1f84615 100644 --- a/src/doc/primitives.cpp +++ b/src/doc/primitives.cpp @@ -1,5 +1,5 @@ // Aseprite Document Library -// Copyright (c) 2001-2015 David Capello +// Copyright (c) 2001-2016 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -66,8 +66,8 @@ Image* crop_image(const Image* image, int x, int y, int w, int h, color_t bg, co { ASSERT(image); - if (w < 1) throw std::invalid_argument("image_crop: Width is less than 1"); - if (h < 1) throw std::invalid_argument("image_crop: Height is less than 1"); + if (w < 1) throw std::invalid_argument("crop_image: Width is less than 1"); + if (h < 1) throw std::invalid_argument("crop_image: Height is less than 1"); Image* trim = Image::create(image->pixelFormat(), w, h, buffer); trim->setMaskColor(image->maskColor()); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

