summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/passworddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/passworddialog.cpp')
-rw-r--r--protocols/Xfire/src/passworddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/passworddialog.cpp b/protocols/Xfire/src/passworddialog.cpp
index 7b2202c24f..041b10c584 100644
--- a/protocols/Xfire/src/passworddialog.cpp
+++ b/protocols/Xfire/src/passworddialog.cpp
@@ -6,7 +6,7 @@
static char nick[255];
BOOL usenick=FALSE;
-BOOL CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+LRESULT CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
static char* pw[255];
switch (msg)
@@ -50,7 +50,7 @@ void ShowPasswordDialog(char*pw,char*mynick) {
else
usenick=FALSE;
- char* npw = (char*)DialogBox(hinstance,MAKEINTRESOURCE(IDD_PWDLG),NULL,DlgPWProc);
+ char* npw = (char*)DialogBox(hinstance,MAKEINTRESOURCE(IDD_PWDLG),NULL,DlgPWProc);
strcpy(pw,npw);
if(mynick)
{