diff options
Diffstat (limited to 'plugins/WhenWasIt/services.cpp')
-rw-r--r-- | plugins/WhenWasIt/services.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/services.cpp b/plugins/WhenWasIt/services.cpp index 09edb81c80..adc06de7b5 100644 --- a/plugins/WhenWasIt/services.cpp +++ b/plugins/WhenWasIt/services.cpp @@ -388,11 +388,9 @@ int DoExport(TCHAR *fileName) }
_ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("Please do not edit this file by hand. Use the export function of WhenWasIt plugin.\n"));
_ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("Warning! Please do not mix Unicode and Ansi exported birthday files. You should use the same version (Ansi/Unicode) of WhenWasIt that was used to export the info.\n"));
-#ifdef _UNICODE
+
_ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("This file was exported with a Unicode version of WhenWasIt. Please only use a Unicode version of the plugin to import the birthdays.\n"));
-#else
- _ftprintf(fout, _T("%c%s"), _T(COMMENT_CHAR), _T("This file was exported with an Ansi version of WhenWasIt. Please only use an Ansi version of the plugin to import the birthdays.\n"));
-#endif
+
HANDLE hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
int year, month, day;
TCHAR *szHandle;
|