0023347: Expression '(* q == ' ') && (* q == '\t')' is always false. Probably the...
[occt.git] / src / Draw / Draw_VariableCommands.cxx
index 88743f1..95728f7 100755 (executable)
@@ -1036,7 +1036,7 @@ static Standard_Real ParseValue(char*& name)
          // count arguments
          Standard_Integer argc = 1;
          char* q = p;
-         while ((*q == ' ') && (*q == '\t')) q++;
+         while ((*q == ' ') || (*q == '\t')) q++;
          if (*q == '(') {
            Standard_Integer pc = 1;
            argc = 2;