Fixed stupid mixup in assignment

This commit is contained in:
Ingo Ruhnke 2009-01-21 07:36:41 +01:00
parent d468ba1868
commit 97fd91a9ab

View file

@ -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
{ {