Update error.c

This commit is contained in:
Kartik 2017-03-02 11:12:51 +05:30 committed by GitHub
parent f1da102193
commit 715235bc43

View File

@ -20,9 +20,9 @@ void error_Init(ErrConf* err, ErrorType type, err_lang lang)
err->upperScreenFlag= NORMAL;
err->eulaVersion = 0;
err->homeButton = true;
err->softwareReset = false;
err->appJump = false;
err-> returnCode = UNKNOWN;
err->softwareReset = false;
err->appJump = false;
err-> returnCode = UNKNOWN;
}
static void errorConvertToUTF16(u16* out, const char* in, int max)
@ -65,7 +65,7 @@ void error_code(ErrConf* err,int error)
void error_text(ErrConf *err, char* text)
{
char *tex=c_shift(text);
errorConvertToUTF16(err->Text, tex,1900);
errorConvertToUTF16(err->Text, tex,1900);
}
void error_disp(ErrConf* err)