* If string as form "x,y" where is x and y are numeric,
* return "x" or "y", depending on getx, else return ""
*/
-static char *xyOf(Expr_t * pgm, char *pt, int getx)
+static char *xyOf(Expr_t * pgm, char *pt, bool getx)
{
double x, y;
char *v;
v.string = toUpper(pgm, args[0].string, state->tmp);
break;
case F_xof:
- v.string = xyOf(pgm, args[0].string, 1);
+ v.string = xyOf(pgm, args[0].string, true);
break;
case F_yof:
- v.string = xyOf(pgm, args[0].string, 0);
+ v.string = xyOf(pgm, args[0].string, false);
break;
case F_llof:
v.string = bbOf(pgm, args[0].string, true);