Skip to content

Commit 996f610

Browse files
Documentation Improved
1 parent bd59af0 commit 996f610

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Source/Processors/Editors/ChannelSelector.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,12 +1210,15 @@ ChannelSelectorBox::~ChannelSelectorBox()
12101210
*/
12111211
int ChannelSelectorBox::convertToInteger(std::string s)
12121212
{
1213-
if (s.size() > 9){
1213+
if (s.size() > 9)
1214+
{
12141215
return INT_MAX;
12151216
}
12161217
char ar[20]; int i,j=0;
1217-
for (i = 0; i < s.size(); i++){
1218-
if (s[i] >= 48 && s[i] <= 57){
1218+
for (i = 0; i < s.size(); i++)
1219+
{
1220+
if (s[i] >= 48 && s[i] <= 57)
1221+
{
12191222
ar[j] = s[i]; j++;
12201223
}
12211224
}

0 commit comments

Comments
 (0)