fix TRY_MATCH macro
This commit is contained in:
parent
94fe51b495
commit
1430cbb8be
|
@ -259,7 +259,7 @@ namespace local_utility
|
|||
// fixed id map
|
||||
static void init_fixed_id(const char* name, int id, std::map<sane_option_id, int>& mapid)
|
||||
{
|
||||
#define TRY_MATCH(n, m) \
|
||||
#define TRY_MATCH(n) \
|
||||
if(strcmp(SANE_STD_OPT_NAME_##n, name) == 0) \
|
||||
{ \
|
||||
mapid[SANE_OPT_ID_##n] = id; \
|
||||
|
|
Loading…
Reference in New Issue