From: <pst...@us...> - 2010-04-28 21:36:32
|
Revision: 774 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=774&view=rev Author: pstieber Date: 2010-04-28 21:36:26 +0000 (Wed, 28 Apr 2010) Log Message: ----------- 1. Changed switch( to switch (. 2. Changed for( to for (. 3. Changed the style in wxPropertyValue::StringValue. 4. Changed the curly bracket style in prop.cpp. Modified Paths: -------------- trunk/jazz/src/DeprecatedWx/prop.cpp trunk/jazz/src/mswin/WindowsMidiInterface.cpp trunk/jazz/src/mswin/WindowsPlayer.cpp Modified: trunk/jazz/src/DeprecatedWx/prop.cpp =================================================================== --- trunk/jazz/src/DeprecatedWx/prop.cpp 2010-04-28 21:32:14 UTC (rev 773) +++ trunk/jazz/src/DeprecatedWx/prop.cpp 2010-04-28 21:36:26 UTC (rev 774) @@ -896,13 +896,15 @@ return m_value.boolPtr; } -wxChar *wxPropertyValue::StringValue(void) const { - if (m_type == wxPropertyValueString) - return m_value.string; - else if (m_type == wxPropertyValueStringPtr) - return *(m_value.stringPtr); - else return NULL; - } +wxChar *wxPropertyValue::StringValue(void) const +{ + if (m_type == wxPropertyValueString) + return m_value.string; + else if (m_type == wxPropertyValueStringPtr) + return *(m_value.stringPtr); + else + return NULL; +} wxChar **wxPropertyValue::StringValuePtr(void) const { @@ -1107,10 +1109,13 @@ bool wxPropertySheet::SetProperty(const wxString& Name, const wxPropertyValue& value) { wxProperty* prop = GetProperty(Name); - if(prop){ + if (prop) + { prop->SetValue(value); return true; - }else{ + } + else + { return false; } } Modified: trunk/jazz/src/mswin/WindowsMidiInterface.cpp =================================================================== --- trunk/jazz/src/mswin/WindowsMidiInterface.cpp 2010-04-28 21:32:14 UTC (rev 773) +++ trunk/jazz/src/mswin/WindowsMidiInterface.cpp 2010-04-28 21:36:26 UTC (rev 774) @@ -160,7 +160,7 @@ now = (long)timeGetTime(); - switch(wMsg) + switch (wMsg) { case MIM_DATA: // ignore active sensing and real time messages except midi stop @@ -271,7 +271,7 @@ now = (long)timeGetTime(); - switch(wMsg) + switch (wMsg) { case MIM_DATA: if ( dwParam1 == 0xf8 ) @@ -399,7 +399,7 @@ now = (long)timeGetTime(); - switch(wMsg) + switch (wMsg) { case MIM_DATA: Modified: trunk/jazz/src/mswin/WindowsPlayer.cpp =================================================================== --- trunk/jazz/src/mswin/WindowsPlayer.cpp 2010-04-28 21:32:14 UTC (rev 773) +++ trunk/jazz/src/mswin/WindowsPlayer.cpp 2010-04-28 21:36:26 UTC (rev 774) @@ -214,7 +214,7 @@ JZEvent* pEvent = 0; - switch(u.c[0] & 0xf0) + switch (u.c[0] & 0xf0) { case 0x80: pEvent = new JZKeyOffEvent(0, u.c[0] & 0x0f, u.c[1]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |