fix: 一些小问题修复;
This commit is contained in:
parent
445401ceeb
commit
8449bae812
|
@ -1 +1 @@
|
||||||
Subproject commit f0889de684ba323663cf5a715298e9b0fd4915e8
|
Subproject commit 95b3250011d0bf76ebd77f9905dc77fd04a46ce7
|
|
@ -485,7 +485,7 @@
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/editorview.cpp" line="835"/>
|
<location filename="../../src/control/editorview.cpp" line="835"/>
|
||||||
<source>Not allowed operation in non-UI thread</source>
|
<source>Not allowed operation in non-UI thread</source>
|
||||||
<translation type="unfinished">该操作在非 UI 线程非法</translation>
|
<translation>该操作在非 UI 线程非法</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|
|
@ -485,7 +485,7 @@
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/control/editorview.cpp" line="835"/>
|
<location filename="../../src/control/editorview.cpp" line="835"/>
|
||||||
<source>Not allowed operation in non-UI thread</source>
|
<source>Not allowed operation in non-UI thread</source>
|
||||||
<translation type="unfinished">該操作在非 UI 線程非法</translation>
|
<translation>該操作在非 UI 線程非法</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
|
|
|
@ -948,19 +948,19 @@ static void CScriptDictValue_opCast(void *ref, int typeId,
|
||||||
}
|
}
|
||||||
|
|
||||||
static asINT64 CScriptDictValue_opConvInt(CScriptDictValue *obj) {
|
static asINT64 CScriptDictValue_opConvInt(CScriptDictValue *obj) {
|
||||||
asINT64 value;
|
asINT64 value = 0;
|
||||||
CScriptDictValue_opCast(&value, asTYPEID_INT64, obj);
|
CScriptDictValue_opCast(&value, asTYPEID_INT64, obj);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static asQWORD CScriptDictValue_opConvUInt(CScriptDictValue *obj) {
|
static asQWORD CScriptDictValue_opConvUInt(CScriptDictValue *obj) {
|
||||||
asQWORD value;
|
asQWORD value = 0;
|
||||||
CScriptDictValue_opCast(&value, asTYPEID_UINT64, obj);
|
CScriptDictValue_opCast(&value, asTYPEID_UINT64, obj);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static double CScriptDictValue_opConvDouble(CScriptDictValue *obj) {
|
static double CScriptDictValue_opConvDouble(CScriptDictValue *obj) {
|
||||||
double value;
|
double value = 0;
|
||||||
CScriptDictValue_opCast(&value, asTYPEID_DOUBLE, obj);
|
CScriptDictValue_opCast(&value, asTYPEID_DOUBLE, obj);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue