mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-16 04:08:10 +00:00
Fix: error-checking condition was inverted.
Similar to previously fix on Ln 5359 in void Execute_SymbolInfoString() by hectorli #173 update IF checking (commit 26de553 on 27 Aug 2019), same error-checking condition was also inverted in Ln 2948 in void Execute_iBandsOnArray().
This commit is contained in:
+1
-1
@@ -2945,7 +2945,7 @@ void Execute_iBandsOnArray()
|
|||||||
}
|
}
|
||||||
|
|
||||||
param_index++;
|
param_index++;
|
||||||
if (getIntValue(ExpertHandle, param_index, total, _error))
|
if (!getIntValue(ExpertHandle, param_index, total, _error))
|
||||||
{
|
{
|
||||||
PrintParamError("iBandsOnArray", "total", _error);
|
PrintParamError("iBandsOnArray", "total", _error);
|
||||||
sendErrorResponse(ExpertHandle, -1, _error, _response_error);
|
sendErrorResponse(ExpertHandle, -1, _error, _response_error);
|
||||||
|
|||||||
Reference in New Issue
Block a user