[aseprite] 228/250: Move var to beginnig of scope
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit d96c7bff4547cefd4cd9ee1b62c593fd0c032202
Author: ripesunflower <ripesunflower at users.noreply.github.com>
Date: Wed Nov 4 09:55:10 2015 +0300
Move var to beginnig of scope
I get error without it in VS2013
---
src/allegro/src/win/wddwin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/allegro/src/win/wddwin.c b/src/allegro/src/win/wddwin.c
index 50a619e..d879e3d 100644
--- a/src/allegro/src/win/wddwin.c
+++ b/src/allegro/src/win/wddwin.c
@@ -784,6 +784,7 @@ static BITMAP *gfx_directx_acknowledge_resize(void)
int w, h;
RECT rc;
BITMAP *new_screen;
+ BITMAP* tmp = NULL;
GetClientRect(allegro_wnd, &rc);
w = rc.right;
@@ -792,7 +793,6 @@ static BITMAP *gfx_directx_acknowledge_resize(void)
w -= (w % 4);
/* Copy current content in screen */
- BITMAP* tmp = NULL;
if (screen)
tmp = create_bitmap_ex(color_depth, w, h);
--
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