From: <arj...@us...> - 2011-10-07 07:00:36
|
Revision: 11939 http://plplot.svn.sourceforge.net/plplot/?rev=11939&view=rev Author: arjenmarkus Date: 2011-10-07 07:00:30 +0000 (Fri, 07 Oct 2011) Log Message: ----------- Change max_opts into a preprocessor macro, because MS Visual C/C++ does not like "automatic" arrays. Modified Paths: -------------- trunk/src/pllegend.c Modified: trunk/src/pllegend.c =================================================================== --- trunk/src/pllegend.c 2011-10-06 18:13:58 UTC (rev 11938) +++ trunk/src/pllegend.c 2011-10-07 07:00:30 UTC (rev 11939) @@ -1120,7 +1120,7 @@ PLFLT label_offset = 1.2; // For building plmtex option string. - PLINT max_opts = 25; +#define max_opts 25 char opt_label[max_opts]; char perp; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |