From 3b92a8d946b18c0ecd336d400c7e696dbe56f79b Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Tue, 12 Feb 2008 00:25:21 +0000 Subject: fix for unicode build, dialog text git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@394 4f64403b-2f21-0410-a795-97e2b3489a10 --- db3x_autobackups/dbsettings.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'db3x_autobackups/dbsettings.c') diff --git a/db3x_autobackups/dbsettings.c b/db3x_autobackups/dbsettings.c index e111918..518cff3 100644 --- a/db3x_autobackups/dbsettings.c +++ b/db3x_autobackups/dbsettings.c @@ -230,14 +230,14 @@ static __inline int GetContactSettingWorker(HANDLE hContact,DBCONTACTGETSETTING if ( settingNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("GetContactSettingWorker() got a > 255 setting name length. \n"); + OutputDebugStringA("GetContactSettingWorker() got a > 255 setting name length. \n"); #endif return 1; } if ( moduleNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("GetContactSettingWorker() got a > 255 module name length. \n"); + OutputDebugStringA("GetContactSettingWorker() got a > 255 module name length. \n"); #endif return 1; } @@ -553,14 +553,14 @@ static int WriteContactSetting(WPARAM wParam,LPARAM lParam) if ( settingNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("WriteContactSetting() got a > 255 setting name length. \n"); + OutputDebugStringA("WriteContactSetting() got a > 255 setting name length. \n"); #endif return 1; } if ( moduleNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("WriteContactSetting() got a > 255 module name length. \n"); + OutputDebugStringA("WriteContactSetting() got a > 255 module name length. \n"); #endif return 1; } @@ -590,7 +590,7 @@ static int WriteContactSetting(WPARAM wParam,LPARAM lParam) { int len = ( dbcws->value.type != DBVT_BLOB ) ? strlen(dbcws->value.pszVal) : dbcws->value.cpbVal; if ( len >= 0xFFFF ) { #ifdef _DEBUG - OutputDebugString("WriteContactSetting() writing huge string/blob, rejecting ( >= 0xFFFF ) \n"); + OutputDebugStringA("WriteContactSetting() writing huge string/blob, rejecting ( >= 0xFFFF ) \n"); #endif return 1; } @@ -819,14 +819,14 @@ static int DeleteContactSetting(WPARAM wParam,LPARAM lParam) if ( settingNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("DeleteContactSetting() got a > 255 setting name length. \n"); + OutputDebugStringA("DeleteContactSetting() got a > 255 setting name length. \n"); #endif return 1; } if ( moduleNameLen > 0xFE ) { #ifdef _DEBUG - OutputDebugString("DeleteContactSetting() got a > 255 module name length. \n"); + OutputDebugStringA("DeleteContactSetting() got a > 255 module name length. \n"); #endif return 1; } -- cgit v1.2.3