Fixed stupid mixup in assignment
This commit is contained in:
parent
d468ba1868
commit
97fd91a9ab
1 changed files with 2 additions and 2 deletions
|
@ -818,8 +818,8 @@ void parse_command_line(int argc, char** argv, CommandLineOptions& opts)
|
||||||
unsigned int vendor_id;
|
unsigned int vendor_id;
|
||||||
if (sscanf(argv[i], "%x:%x", &vendor_id, &product_id) == 2)
|
if (sscanf(argv[i], "%x:%x", &vendor_id, &product_id) == 2)
|
||||||
{
|
{
|
||||||
vendor_id = opts.vendor_id;
|
opts.vendor_id = vendor_id;
|
||||||
product_id = opts.product_id;
|
opts.product_id = product_id;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue