Update of /cvsroot/arcem/arcem/win
In directory vz-cvs-4.sog:/tmp/cvs-serv17595/win

Modified Files:
        DispKbd.c 
Log Message:
Enormous-looking set of changes that do nothing.  Just avoid requiring
a C99 compiler.  Would you believe Microsoft Visual Studio 2010 is still
not a C99 compiler.  So we fake it where we can, but the main problem is
that you require C99 to be able to do inline declarations.  So the bulk
of this huge ugly commit is just changing the scope of declaration of
variables.
I've done as much as I can to test I've not broken things, on Linux and
Windows VS2010 builds.  It's possible there's breakage with other platforms
but those are the two I've got to hand to test just now anyway.


Index: DispKbd.c
===================================================================
RCS file: /cvsroot/arcem/arcem/win/DispKbd.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- DispKbd.c   12 May 2012 17:34:52 -0000      1.18
+++ DispKbd.c   21 Jul 2012 01:01:11 -0000      1.19
@@ -146,6 +146,7 @@
   int Height = ((int)VIDC.Vert_CursorEnd - 
(int)VIDC.Vert_CursorStart)*HD.YScale;
   int VertPos;
   int diboffs;
+  SDD_HostColour cursorPal[4];
 
   DisplayDev_GetCursorPos(state,&HorizPos,&VertPos);
   HorizPos = HorizPos*HD.XScale+HD.XOffset;
@@ -159,7 +160,6 @@
   rMouseHeight = Height;
 
   /* Cursor palette */
-  SDD_HostColour cursorPal[4];
   cursorPal[0] = 0;
   for(x=0; x<3; x++) {
     cursorPal[x+1] = SDD_Name(Host_GetColour)(state,VIDC.CursorPalette[x]);


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-- 
arcem-cvs mailing list
arcem-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-cvs

Reply via email to