[aseprite] 28/128: Include <cstring> needed in standby_state.cpp
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:19 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 065188aea36ce850a4afbc4b78ead4bff1af160d
Author: David Capello <davidcapello at gmail.com>
Date: Tue Apr 19 14:24:27 2016 -0300
Include <cstring> needed in standby_state.cpp
---
src/app/ui/editor/standby_state.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/app/ui/editor/standby_state.cpp b/src/app/ui/editor/standby_state.cpp
index 4f4b348..288d47b 100644
--- a/src/app/ui/editor/standby_state.cpp
+++ b/src/app/ui/editor/standby_state.cpp
@@ -56,6 +56,7 @@
#include "ui/view.h"
#include <cmath>
+#include <cstring>
namespace app {
@@ -463,7 +464,7 @@ bool StandbyState::onUpdateStatusBar(Editor* editor)
(mask ? mask->bounds().h: sprite->height()));
if (sprite->totalFrames() > 1) {
sprintf(
- buf+strlen(buf), " :frame: %d :clock: %d",
+ buf+std::strlen(buf), " :frame: %d :clock: %d",
editor->frame()+1,
sprite->frameDuration(editor->frame()));
}
--
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