file-storage: Use first/last fingers references instead of named ones

Don't depend in the hardcoded libfprint fingers order, but use instead the
aliases for first/last fingers in libfprint order
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-18 17:32:52 +01:00
parent d0df422f9b
commit 6903c36157
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@
#define DIR_PERMS 0700
#define FP_FINGER_IS_VALID(finger) \
((finger) >= FP_FINGER_LEFT_THUMB && (finger) <= FP_FINGER_RIGHT_LITTLE)
((finger) >= FP_FINGER_FIRST && (finger) <= FP_FINGER_LAST)
static const char *get_storage_path()
{