diff options
Diffstat (limited to 'metacontacts')
-rw-r--r-- | metacontacts/MetaContacts.mdsp | 20 | ||||
-rw-r--r-- | metacontacts/edit.c | 5 | ||||
-rw-r--r-- | metacontacts/meta_utils.c | 2 | ||||
-rw-r--r-- | metacontacts/metacontacts.h | 2 |
4 files changed, 16 insertions, 13 deletions
diff --git a/metacontacts/MetaContacts.mdsp b/metacontacts/MetaContacts.mdsp index 363e10f..86165cc 100644 --- a/metacontacts/MetaContacts.mdsp +++ b/metacontacts/MetaContacts.mdsp @@ -28,7 +28,7 @@ optimizeLevel=0 // linker
libraryPath=
outputFilename=Debug\MetaContacts.dll
-libraries=gdi32
+libraries=gdi32,comctl32
extraLinkerOptions=
ignoreStartupFile=0
ignoreDefaultLibs=0
@@ -66,7 +66,7 @@ optimizeLevel=2 // linker
libraryPath=
outputFilename=Release\MetaContacts.dll
-libraries=gdi32
+libraries=gdi32,comctl32
extraLinkerOptions=
ignoreStartupFile=0
ignoreDefaultLibs=0
@@ -89,6 +89,7 @@ extraResourceOptions= 6=meta_options.c
7=meta_services.c
8=meta_utils.c
+9=icons.c
[Header]
1=m_metacontacts.h
2=metacontacts.h
@@ -98,11 +99,12 @@ extraResourceOptions= 1=resource.rc
[Other]
[History]
-meta_main.c,5028
-edit.c,10060
-metacontacts.h,1253
-addto.c,1011
-..\..\include\m_utils.h,12807
-meta_utils.c,30325
+meta_services.c,7878
meta_api.c,9173
-meta_services.c,7881
+..\..\include\m_utils.h,12800
+addto.c,1011
+metacontacts.h,1021
+edit.c,4303
+meta_main.c,4980
+..\..\..\..\..\..\..\msys\include\commctrl.h,85596
+meta_utils.c,30562
diff --git a/metacontacts/edit.c b/metacontacts/edit.c index 37cd8a1..2ff323e 100644 --- a/metacontacts/edit.c +++ b/metacontacts/edit.c @@ -120,10 +120,11 @@ void FillContactList(HWND hWndDlg, CHANGES *chg) { sprintf(buff,"%d",dbv.wVal);
break;
case DBVT_DWORD:
- sprintf(buff,"%d",dbv.dVal);
+ sprintf(buff,"%d",(int)dbv.dVal);
break;
default:
- sprintf(buff,"");
+ //sprintf(buff,"");
+ buff[0] = 0;
}
DBFreeVariant(&dbv);
diff --git a/metacontacts/meta_utils.c b/metacontacts/meta_utils.c index 22d6228..f844f99 100644 --- a/metacontacts/meta_utils.c +++ b/metacontacts/meta_utils.c @@ -828,7 +828,7 @@ int Meta_SetHandles(void) { } else {
char buff[256];
// problem - contact number is greater than meta's number of contacts
- sprintf(buff, "Subcontact contact number (%d) > meta num contacts (%d) - deleting MetaContact", contact_number, num_contacts);
+ sprintf(buff, "Subcontact contact number (%d) > meta num contacts (%d) - deleting MetaContact", (int)contact_number, (int)num_contacts);
MessageBox(0, buff, nick_buffer, MB_OK | MB_ICONERROR);
//CallService(MS_DB_CONTACT_DELETE, (WPARMA)hContact, 0);
hNextContact = ( HANDLE )CallService( MS_DB_CONTACT_FINDNEXT,( WPARAM )hContact, 0 );
diff --git a/metacontacts/metacontacts.h b/metacontacts/metacontacts.h index 39118da..22f77d6 100644 --- a/metacontacts/metacontacts.h +++ b/metacontacts/metacontacts.h @@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "resource.h"
#include "m_metacontacts.h"
-#include "m_IcoLib.h"
+#include "../../include/m_icolib.h"
#include "../../include/newpluginapi.h"
#include "../../include/m_clist.h"
|