[aseprite] 04/196: Avoid warning on Graphics::drawUIString()
Tobias Hansen
thansen at moszumanska.debian.org
Wed Apr 20 18:49:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 78da4a40a186fd4eb89656207c62d0f26b356ceb
Author: David Capello <davidcapello at gmail.com>
Date: Mon Feb 29 22:21:21 2016 -0300
Avoid warning on Graphics::drawUIString()
---
src/ui/graphics.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ui/graphics.cpp b/src/ui/graphics.cpp
index f19c1b8..a6dcb97 100644
--- a/src/ui/graphics.cpp
+++ b/src/ui/graphics.cpp
@@ -1,5 +1,5 @@
// Aseprite UI 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.
@@ -225,7 +225,7 @@ void Graphics::drawUIString(const std::string& str, gfx::Color fg, gfx::Color bg
base::utf8_const_iterator it(str.begin()), end(str.end());
int x = m_dx+pt.x;
int y = m_dy+pt.y;
- int underscored_x;
+ int underscored_x = 0;
int underscored_w = -1;
while (it != end) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list