微调脚本编译不支持临时变量
This commit is contained in:
parent
4d842a847f
commit
54c2da5e38
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
#include "scanner.h"
|
#include "scanner.h"
|
||||||
|
|
||||||
|
@ -2997,8 +2997,8 @@ COM_API_IMPLEMENT(scanner, int, set_value(int sn, void* val))
|
||||||
void* w = val;
|
void* w = val;
|
||||||
if (org_id == 0x102c)
|
if (org_id == 0x102c)
|
||||||
{
|
{
|
||||||
const char* str = sane_opt_trans::language_from_twain(*(int*)val);
|
// const char* str = sane_opt_trans::language_from_twain(*(int*)val);
|
||||||
strv = str;
|
strv = sane_opt_trans::language_from_twain(*(int*)val);
|
||||||
w = &strv;
|
w = &strv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue