[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17954] branches/blender2.5/blender/source /blender/windowmanager/intern/wm_subwindow.c: * little swap-eroo to get things compiled with msvc.

Nathan Letwory jesterking at letwory.net
Fri Dec 19 18:59:55 CET 2008


Revision: 17954
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17954
Author:   jesterking
Date:     2008-12-19 18:59:54 +0100 (Fri, 19 Dec 2008)

Log Message:
-----------
* little swap-eroo to get things compiled with msvc.
  - first the declarations, then the code! :)

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/windowmanager/intern/wm_subwindow.c

Modified: branches/blender2.5/blender/source/blender/windowmanager/intern/wm_subwindow.c
===================================================================
--- branches/blender2.5/blender/source/blender/windowmanager/intern/wm_subwindow.c	2008-12-19 17:26:15 UTC (rev 17953)
+++ branches/blender2.5/blender/source/blender/windowmanager/intern/wm_subwindow.c	2008-12-19 17:59:54 UTC (rev 17954)
@@ -234,8 +234,8 @@
 /* enable the WM versions of opengl calls */
 void wmSubWindowSet(wmWindow *win, int swinid)
 {
+	int width, height;
 	_curswin= swin_from_swinid(win, swinid);
-	int width, height;
 	
 	if(_curswin==NULL) {
 		printf("wmSubWindowSet %d: doesn't exist\n", swinid);





More information about the Bf-blender-cvs mailing list