@@ -97,7 +97,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_WriteKey(LPCXSTR lpszFileKey, XENGINE_AUT
9797 memset (tszTimeStart, ' \0 ' , sizeof (tszTimeStart));
9898 memset (tszTimeEnd, ' \0 ' , sizeof (tszTimeEnd));
9999 BaseLib_Time_TimeToStr (tszTimeEnd);
100- BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
100+ BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
101101 pSt_AuthLocal->st_AuthRegInfo .nHasTime -= nUsedTime;
102102 }
103103 // 添加注册信息
@@ -472,7 +472,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_WriteMemory(XCHAR* ptszMsgBuffer, int* pI
472472 memset (tszTimeStart, ' \0 ' , sizeof (tszTimeStart));
473473 memset (tszTimeEnd, ' \0 ' , sizeof (tszTimeEnd));
474474 BaseLib_Time_TimeToStr (tszTimeEnd);
475- BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
475+ BaseLib_TimeSpan_GetForStr (pSt_AuthLocal->st_AuthRegInfo .tszStartTime , tszTimeEnd, &nUsedTime, ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
476476 pSt_AuthLocal->st_AuthRegInfo .nHasTime -= nUsedTime;
477477 }
478478 // 添加注册信息
@@ -1009,7 +1009,7 @@ bool CAuthorize_CDKey::Authorize_CDKey_GetLeftTimer(XENGINE_AUTHORIZE_LOCAL* pSt
10091009 else if (ENUM_AUTHORIZE_MODULE_SERIAL_TYPE_CUSTOM == pSt_AuthLocal->st_AuthRegInfo .enSerialType )
10101010 {
10111011 _stxscanf (pSt_AuthLocal->st_AuthRegInfo .tszLeftTime , _X (" %04d-%02d-%02d %02d:%02d:%02d" ), &st_EndTimer.wYear , &st_EndTimer.wMonth , &st_EndTimer.wDay , &st_EndTimer.wHour , &st_EndTimer.wMinute , &st_EndTimer.wSecond );
1012- BaseLib_TimeSpan_GetForStu (&st_SysTimer, &st_EndTimer, &pSt_AuthLocal->st_AuthRegInfo .nHasTime , ENUM_XENGINE_BASELIB_TIME_SPAN_TYPE_SECOND );
1012+ BaseLib_TimeSpan_GetForStu (&st_SysTimer, &st_EndTimer, &pSt_AuthLocal->st_AuthRegInfo .nHasTime , ENUM_XENGINE_BASELIB_TIME_TYPE_SECOND );
10131013 }
10141014 else
10151015 {
0 commit comments