[commit] r2461 - trunk/SDK/DecoratorLib

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Mar 11 11:50:07 CDT 2014


Author: ksmyth
Date: Tue Mar 11 11:50:07 2014
New Revision: 2461

Log:
Fix BoxDecorator port rendering: respect the maximum portlabel length (GME-440)

Modified:
   trunk/SDK/DecoratorLib/PortLabelPart.cpp

Modified: trunk/SDK/DecoratorLib/PortLabelPart.cpp
==============================================================================
--- trunk/SDK/DecoratorLib/PortLabelPart.cpp	Thu Mar  6 18:03:38 2014	(r2460)
+++ trunk/SDK/DecoratorLib/PortLabelPart.cpp	Tue Mar 11 11:50:07 2014	(r2461)
@@ -48,7 +48,7 @@
 
 	// Text's Max Length
 	m_iMaxTextLength = MAX_LABEL_LENGTH;
-	PreferenceMap::iterator it = preferences.find(PREF_PORTLABELLENGTH);
+	PreferenceMap::iterator it = preferences.find(PREF_LABELLENGTH);
 	if (it != preferences.end())
 		m_iMaxTextLength = it->second.uValue.lValue;
 }


More information about the gme-commit mailing list