- int direction = (strcmp(direction_string, "left") == 0 ? MV_LEFT :
- strcmp(direction_string, "right") == 0 ? MV_RIGHT :
- strcmp(direction_string, "up") == 0 ? MV_UP :
- strcmp(direction_string, "down") == 0 ? MV_DOWN :
+ int direction = (strEqual(direction_string, "left") ? MV_LEFT :
+ strEqual(direction_string, "right") ? MV_RIGHT :
+ strEqual(direction_string, "up") ? MV_UP :
+ strEqual(direction_string, "down") ? MV_DOWN :