I looked at that commit and something like this would be more appropriate (since the code still does "<" to handle food thresholds):
Code:
/* p_ptr->food descriptions */
static const struct state_info hunger_data[] =
{
{ PY_FOOD_FAINT, S("Faint"), TERM_RED },
{ PY_FOOD_WEAK, S("Weak"), TERM_ORANGE },
{ PY_FOOD_ALERT, S("Hungry"), TERM_YELLOW },
{ PY_FOOD_FULL, S(""), TERM_L_GREEN },
{ PY_FOOD_MAX + 1, S("Full"), TERM_L_GREEN }
};
/*
* Prints status of hunger
*/
static size_t prt_hunger(int row, int col)
{
PRINT_STATE(<, hunger_data, p_ptr->food, row, col);
return 0;
}