diff options
Diffstat (limited to 'plugins/Scriver/src')
| -rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 4 | ||||
| -rw-r--r-- | plugins/Scriver/src/msglog.cpp | 2 | ||||
| -rw-r--r-- | plugins/Scriver/src/srmm.cpp | 2 | 
3 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index c0f45ade83..995921af6d 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1367,8 +1367,8 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP  			}
  			else if (dat->lastMessage) {
  				TCHAR date[64], time[64];
 -				tmi.printTimeStamp(NULL, dat->lastMessage, _T("d"), date, SIZEOF(date), 0);
 -				tmi.printTimeStamp(NULL, dat->lastMessage, _T("t"), time, SIZEOF(time), 0);
 +				TimeZone_PrintTimeStamp(NULL, dat->lastMessage, _T("d"), date, SIZEOF(date), 0);
 +				TimeZone_PrintTimeStamp(NULL, dat->lastMessage, _T("t"), time, SIZEOF(time), 0);
  				mir_sntprintf(szText, TranslateT("Last message received on %s at %s."), date, time);
  				sbd.pszText = szText;
  			}
 diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp index 86a2751f2c..537673b5a2 100644 --- a/plugins/Scriver/src/msglog.cpp +++ b/plugins/Scriver/src/msglog.cpp @@ -425,7 +425,7 @@ TCHAR* TimestampToString(DWORD dwFlags, time_t check, int mode)  		mir_tstrcat(format, (dwFlags & SMF_SHOWSECONDS) ? _T("s") : _T("t"));
  	}
  	if (format[0] != '\0') {
 -		tmi.printTimeStamp(NULL, check, format, str, SIZEOF(str), 0);
 +		TimeZone_PrintTimeStamp(NULL, check, format, str, SIZEOF(str), 0);
  		mir_tstrncat(szResult, str, SIZEOF(szResult) - mir_tstrlen(szResult));
  	}
  	return szResult;
 diff --git a/plugins/Scriver/src/srmm.cpp b/plugins/Scriver/src/srmm.cpp index 33d51c4722..371dccf22e 100644 --- a/plugins/Scriver/src/srmm.cpp +++ b/plugins/Scriver/src/srmm.cpp @@ -27,7 +27,6 @@ int OnLoadModule(void);  int OnUnloadModule(void);
  int hLangpack;
 -TIME_API tmi;
  HINSTANCE g_hInst;
  CLIST_INTERFACE *pcli;
 @@ -63,7 +62,6 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_SRMM,  extern "C" __declspec(dllexport) int Load(void)
  {
  	// set the memory manager
 -	mir_getTMI(&tmi);
  	mir_getLP(&pluginInfo);
  	mir_getCLI();
  | 
