Commit e24fa377 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added {} for a one line if

parent 1c7282df
......@@ -228,8 +228,10 @@ const char *getOperatorName(const char *operatorArg)
if ( operatorArg )
{
if ( operatorArg[0] == '-' ) operatorArg++;
if ( operatorArg[0] == '-' )
{
operatorArg++;
}
char *commapos = (char *)strchr(operatorArg, ',');
size_t len = (commapos != NULL) ? (size_t)(commapos - operatorArg) : strlen(operatorArg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment