summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MirOTR/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MirOTR/dialogs.cpp b/MirOTR/dialogs.cpp
index 5946686..a064a74 100644
--- a/MirOTR/dialogs.cpp
+++ b/MirOTR/dialogs.cpp
@@ -263,7 +263,7 @@ INT_PTR CALLBACK DlgProcSMPInitProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
}
void SMPInitDialog(ConnContext* context) {
if (!context) return;
- CreateDialogParamW(hInst, MAKEINTRESOURCE(IDD_SMP_INPUT), 0, DlgProcSMPInitProc, (LPARAM) context);
+ CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_SMP_INPUT), 0, DlgProcSMPInitProc, (LPARAM) context);
}
void SMPDialogUpdate(ConnContext *context, int percent) {