Fix compilation issue caused due to errorConf. (#355)

This commit is contained in:
Kartik 2017-05-22 01:37:33 +05:30 committed by fincs
parent 94aabe35f3
commit ff559d2a90
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ typedef enum
typedef struct
{
errorType errorType;
errorType type;
int errorCode;
errorScreenFlag upperScreenFlag;
u16 useLanguage;

View File

@ -10,7 +10,7 @@
void errorInit(errorConf* err, errorType type, CFG_Language lang)
{
memset(err, 0, sizeof(*err));
err->errorType = type;
err->type = type;
err->useLanguage = lang;
err->upperScreenFlag = ERROR_NORMAL;
err->eulaVersion = 0;