[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41130] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: OSX fix for recent utf8 commit

Dalai Felinto dfelinto at gmail.com
Thu Oct 20 08:29:15 CEST 2011


Revision: 41130
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41130
Author:   dfelinto
Date:     2011-10-20 06:29:14 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
OSX fix for recent utf8 commit

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2011-10-20 05:30:26 UTC (rev 41129)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2011-10-20 06:29:14 UTC (rev 41130)
@@ -1655,8 +1655,8 @@
 		return GHOST_kFailure;
 	}
 	
+	char utf8_buf[6]= {'\0'}; /* TODO, unicode input */
 	switch ([event type]) {
-		char utf8_buf[6]= {'\0'}; /* TODO, unicode input */
 
 		case NSKeyDown:
 		case NSKeyUp:




More information about the Bf-blender-cvs mailing list