util: remove useless position Auto
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c5dfc8a40a
commit
8d7f69cf49
|
@ -113,8 +113,6 @@ position_fromstr(const char *pos, ssize_t len)
|
|||
return Right;
|
||||
case A_TK_LEFT:
|
||||
return Left;
|
||||
case A_TK_AUTO:
|
||||
return Auto;
|
||||
default:
|
||||
return Off;
|
||||
}
|
||||
|
@ -133,7 +131,6 @@ position_tostr(position_t p)
|
|||
case Bottom: return "bottom";
|
||||
case Right: return "right";
|
||||
case Left: return "left";
|
||||
case Auto: return "auto";
|
||||
default: return "off";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,8 +42,7 @@ typedef enum
|
|||
Top,
|
||||
Bottom,
|
||||
Right,
|
||||
Left,
|
||||
Auto
|
||||
Left
|
||||
} position_t;
|
||||
|
||||
/** Link a name to a function */
|
||||
|
|
Loading…
Reference in New Issue