mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Include <cstring> needed in standby_state.cpp
This commit is contained in:
parent
14ccfed3cc
commit
065188aea3
@ -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()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user