{
int interpID = POLAR_INTERP_INVALID;
- for (int i = 0; i < s_iInterpCount; i++)
+ for (int i = 0; i < s_iInterpCount; i++) {
if (strcasecmp (interpName, s_aszInterpName[i]) == 0) {
interpID = i;
break;
}
-
- return (interpID);
+ }
+ return (interpID);
}
const char*
{
static const char *interpName = "";
- if (interpID >= 0 && interpID < s_iInterpCount)
+ if (interpID >= 0 && interpID < s_iInterpCount) {
return (s_aszInterpName[interpID]);
-
+ }
return (interpName);
}
{
static const char *interpTitle = "";
- if (interpID >= 0 && interpID < s_iInterpCount)
+ if (interpID >= 0 && interpID < s_iInterpCount) {
return (s_aszInterpTitle[interpID]);
-
+ }
return (interpTitle);
}