[aseprite] 170/196: Minor changes in she/osx/

Tobias Hansen thansen at moszumanska.debian.org
Wed Apr 20 18:50:16 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 df9c555c879ebea79a2215ff21c08e55ced5a67c
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Apr 11 15:30:02 2016 -0300

    Minor changes in she/osx/
---
 src/she/osx/app_delegate.mm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/she/osx/app_delegate.mm b/src/she/osx/app_delegate.mm
index c7a8296..426be8c 100644
--- a/src/she/osx/app_delegate.mm
+++ b/src/she/osx/app_delegate.mm
@@ -38,12 +38,11 @@
 
 - (BOOL)application:(NSApplication*)app openFile:(NSString*)filename
 {
-  she::Event ev;
-  ev.setType(she::Event::DropFiles);
-
   std::vector<std::string> files;
   files.push_back([filename UTF8String]);
 
+  she::Event ev;
+  ev.setType(she::Event::DropFiles);
   ev.setFiles(files);
   she::queue_event(ev);
   return YES;

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