diff options
author | Antoine ELIAS <antoine.elias@scilab-enterprises.com> | 2016-11-10 08:38:08 +0100 |
---|---|---|
committer | Antoine ELIAS <antoine.elias@scilab-enterprises.com> | 2016-11-10 08:38:08 +0100 |
commit | 82b2ae8e4aa7fb8451e3056a154044232cbf6418 (patch) | |
tree | 56e3920f2fe5f36c160d0957210e82607179b2af | |
parent | 3d8ec6767b298fa5ff3f9b15a0303df6bdfaf2b3 (diff) | |
download | scilab-82b2ae8e4aa7fb8451e3056a154044232cbf6418.zip scilab-82b2ae8e4aa7fb8451e3056a154044232cbf6418.tar.gz |
utf: signal_processing 2
Change-Id: I8cf303d23c088b8f0c600ea543b00715f4fd9141
-rw-r--r-- | scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp b/scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp index 102f6c0..1b0a1cf 100644 --- a/scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp +++ b/scilab/modules/signal_processing/src/cpp/signalprocessingfunctions.cpp | |||
@@ -76,7 +76,7 @@ void Signalprocessingfunctions::execFunctionDgetx(double* x, int* siz, int* iss) | |||
76 | ConfigVariable::EntryPointStr* func = ConfigVariable::getEntryPoint(m_pStringDgetxDyn->get(0)); | 76 | ConfigVariable::EntryPointStr* func = ConfigVariable::getEntryPoint(m_pStringDgetxDyn->get(0)); |
77 | if (func == NULL) | 77 | if (func == NULL) |
78 | { | 78 | { |
79 | sprintf(errorMsg, _("Undefined function '%ls'.\n"), m_pStringDgetxDyn->get(0)); | 79 | sprintf(errorMsg, _("Undefined function '%s'.\n"), m_pStringDgetxDyn->get(0)); |
80 | throw ast::InternalError(errorMsg); | 80 | throw ast::InternalError(errorMsg); |
81 | } | 81 | } |
82 | ((dgetx_f_t)(func->functionPtr))(x, siz, iss); | 82 | ((dgetx_f_t)(func->functionPtr))(x, siz, iss); |
@@ -137,7 +137,7 @@ void Signalprocessingfunctions::execFunctionDgety(double* y, int* siz, int* iss) | |||
137 | ConfigVariable::EntryPointStr* func = ConfigVariable::getEntryPoint(m_pStringDgetyDyn->get(0)); | 137 | ConfigVariable::EntryPointStr* func = ConfigVariable::getEntryPoint(m_pStringDgetyDyn->get(0)); |
138 | if (func == NULL) | 138 | if (func == NULL) |
139 | { | 139 | { |
140 | sprintf(errorMsg, _("Undefined function '%ls'.\n"), m_pStringDgetyDyn->get(0)); | 140 | sprintf(errorMsg, _("Undefined function '%s'.\n"), m_pStringDgetyDyn->get(0)); |
141 | throw ast::InternalError(errorMsg); | 141 | throw ast::InternalError(errorMsg); |
142 | } | 142 | } |
143 | ((dgety_f_t)(func->functionPtr))(y, siz, iss); | 143 | ((dgety_f_t)(func->functionPtr))(y, siz, iss); |
@@ -205,7 +205,7 @@ void Signalprocessingfunctions::callDgety(double* y, int* siz, int* iss) | |||
205 | 205 | ||
206 | if (bOk == false) | 206 | if (bOk == false) |
207 | { | 207 | { |
208 | sprintf(errorMsg, _("%ls: error while calling user function.\n"), m_pCallDgety->getName().c_str()); | 208 | sprintf(errorMsg, _("%s: error while calling user function.\n"), m_pCallDgety->getName().c_str()); |
209 | throw ast::InternalError(errorMsg); | 209 | throw ast::InternalError(errorMsg); |
210 | } | 210 | } |
211 | 211 | ||
@@ -295,7 +295,7 @@ void Signalprocessingfunctions::callDgetx(double* x, int* siz, int* iss) | |||
295 | 295 | ||
296 | if (bOk == false) | 296 | if (bOk == false) |
297 | { | 297 | { |
298 | sprintf(errorMsg, _("%ls: error while calling user function.\n"), m_pCallDgetx->getName().c_str()); | 298 | sprintf(errorMsg, _("%s: error while calling user function.\n"), m_pCallDgetx->getName().c_str()); |
299 | throw ast::InternalError(errorMsg); | 299 | throw ast::InternalError(errorMsg); |
300 | } | 300 | } |
301 | 301 | ||