[aseprite] 71/308: Correct usage of variable arguments

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:44:53 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 57db16efecf15adc553251e876711fdd37674232
Author: Ying Ruei Liang (KK) <thumbd03803 at gmail.com>
Date:   Wed Dec 9 15:01:25 2015 +0800

    Correct usage of variable arguments
---
 src/app/log.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/log.cpp b/src/app/log.cpp
index f9a4147..d3ec160 100644
--- a/src/app/log.cpp
+++ b/src/app/log.cpp
@@ -68,6 +68,7 @@ void verbose_log(const char* format, ...)
     fflush(app::log_fileptr);
 
 #ifdef _DEBUG
+    va_start(ap, format);
     vfprintf(stderr, format, ap);
     fflush(stderr);
 #endif

-- 
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