Move gnprintf/atcprintf from core to logic.

This commit is contained in:
David Anderson
2015-08-30 19:32:46 -07:00
parent 9d2bee261c
commit e78fe93e92
15 changed files with 1373 additions and 1265 deletions
+2 -1
View File
@@ -40,6 +40,7 @@
#include <ILibrarySys.h>
#include "PhraseCollection.h"
#include "stringutil.h"
#include "sprintf.h"
#include <am-string.h>
Translator g_Translator;
@@ -1059,7 +1060,7 @@ bool Translator::FormatString(char *buffer,
unsigned int arg;
arg = 0;
if (!smcore.gnprintf(buffer, maxlength, format, pPhrases, params, numparams, arg, pOutLength, pFailPhrase))
if (!gnprintf(buffer, maxlength, format, pPhrases, params, numparams, arg, pOutLength, pFailPhrase))
{
return false;
}